I have 100 files in my installer. How can I instruct to install only 1 specific file based on a certain condition and ALL of them otherwise. Do I have to manually add the build-time condition for each file ?
Announcement
Collapse
No announcement yet.
install files
Collapse
X
-
Re: install files
You could zip the 99 files into one file, so you only have two files to work with. Then write code to either copy that one file to destination, or unzip the other file's contents to destination. Another solution, create two Packages, and let the user chose which package they want..
Hope this helps,
Praveen
-
Re: install files
You can highlight ALL of the files that meet the criteria, right click, select properties, switch to the Conditions tab, and then set the RT Condition for all of them at the same time. (Make sure to choose the correct "Replace", "Append", or "Prepend" setting in the drop down list for the Apply Method.)
LochWar
Comment
Comment