Hi,
You have two options for what you want to do:
Option 1:
- go to Files and Folders page and create the New Folder → Regular.
- now go to Custom Actions page and after CostFinalize add a “
Directory Set with Formatted” custom action. To show CostFinalize phase right click Install → Show Standard Actions → Before Initialization → CostFinalize.
This custom action allows you to set the installation path of the folder you select when adding the custom action. For example you can set the Formatted Text field to:
this will set the path to the Start Menu → Programs folder from the Files and Folders page.
Option 2:
For this you can use a property based folder. First go to
Install Parameters page and create a new property within the Properties group.
Now go to
Custom Actions page and add a “
Property Set with Formatted” custom action after the Begin phase. This custom action will allow you to set the property from Install Parameters page with the path you desire for your new folder.
Now go to Files and Folders page, right click on Programs folder → New Folder → Property Based and select the property you've created. A new folder will be added on the end of the folders list from the page. Right click the folder → New Shortcut.
This way your shortcut will be created in the path specified by the custom action.
Regards,
Bogdan
FOLLOW US
Get the latest news in Application Packaging