I want to remove symlinks (on user's desktop) created during install when the user uninstalls. How do I specify multiple files? I tried the following, but it warns it's incorrect syntax:

 <addFilesToUninstaller> 
 <files>${user_home_directory}/Desktop/ShortCut1</files>
 <files>${user_home_directory}/Desktop/ShortCut2</files>
 <files>${user_home_directory}/Desktop/ShortCut3</files>
 </addFilesToUninstaller>

Should it be

<files>${user_home_directory}/Desktop/ShortCut*</files>

or

<files>${user_home_directory}/Desktop/ShortCut1;${user_home_directory}/Desktop/ShortCut2</files>

Thanks

asked 17 Feb '16, 21:18

quang777's gravatar image

quang777
15667
accept rate: 0%


The correct syntax should be a single <files> tag including a path/pattern or more than one separated by newlines or the character ';'

You can find an example in this link to the documentation:

http://installbuilder.bitrock.com/docs/installbuilder-userguide.html#_add_files_to_uninstaller

link

answered 18 Feb '16, 07:35

alejandror's gravatar image

alejandror ♦♦
1.3k127
accept rate: 31%

Thanks! I was looking around the docs for an example, but didn't see this one.

(18 Feb '16, 12:57) quang777
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×83

Asked: 17 Feb '16, 21:18

Seen: 693 times

Last updated: 18 Feb '16, 12:57