Hello and welcome to our forums,
Yo could implement this using
property based folders. This is the complete method:
1. Go to "Install Parameters" page and define a new property which should contain the folder name. This property could be named, for example "NAME" and should be initialized to a valid path, for example "C:\"
2. Go to "Files and Folders" page and create a new "Property Based" folder based on the above property
3. Go to "Custom Actions" page and create a new "Set installer property" custom action with sequence, configured to run before Paths Resolution action group.
In the "Property" field write the exact name of the previously created property (Ex: "NAME").
In the "Value" field write the new path. This could be a formatted value. For example "[APPDIR]First Folder" or "C:\First Folder"
In the "Condition" enter the condition that has to be true for the folder to be named "First Folder"
Repeat the step 3 for each name/condition pair you need to use.
Best regards,
Sorin
FOLLOW US
Get the latest news in Application Packaging