Hello and welcome to our forums,
To achieve what you want you can use a
property-based folder as my colleague suggested. Here are the steps to proceed:
1. go to "Properties" page and add a new property like this:
- Name: MY_FOLDER_PROP
Value: [|WindowsVolume]
2. go to "Files and Folders" page and create a new property-based folder using the above property (MY_FOLDER_PROP)
3. go to "Custom Actions" page and add a new "Set installer property" custom action with sequence, scheduled after "Wizard Dialogs Stage -> Paths Resolution" action group, like this:
- Property: MY_FOLDER_PROP
Value: [APPDIR][FOLDER_NAME_PROP]
4. select the above added custom action and, while keeping the [SHIFT] key pressed, drag and drop it under "Install Execution Stage -> Paths Resolution" action group; in this way the custom action will be shared between the above installation stages
5. click on the "Advanced execution scenarios..." blue link and check the "Skip action in Install Execution Stage if executed in Dialogs Stage" option
6. rebuild and test your project
If you have any questions let us know.
All the best,
Daniel
FOLLOW US
Get the latest news in Application Packaging