Hello David,
In order to achieve that, you can proceed as it follows:
- add your files to the
"Files and Folders" page
- go to
"Install Parameters" page and set the
"Application Folder" to:
[CommonAppDataFolder]
Now, it depends how you want to generate the
"random" folder. Most likely, you will need a custom action for this.
This custom action should generate the random folder and then
save it in an installer property.
After doing so, we will need to go to
"Dialogs" page, select the
"FolderDlg" dialog and add an two
"Published Events":
- one that executes the custom action
- one
"Set property" event that will set
APPDIR to the new value, e.g.:
[APPDIR][THE_PROP_YOU_SET_IN_CUSTOM_ACTION]
Hope this helps!
Best regards,
Catalin