Customizing Shortcut target with Parameters
After repackaging a application i have to customize the shortcut.
For Example application.exe /f /puc This work fine for the Shortcut creation and the lnk file work BUT the ICON picture will not be created. Can somebody advice?
Also how can i change the Location? Sortcut will be created in Startmenue\Programs but i would like to create a custom folger like IBM
Create the MSI with AppDeploy Repackager, then edit the MSI with InstEd or Orca for further customization.
Community Chosen Answer
The AppDeploy Repackager is a rather basic tool and does not include an editor. You can specify what shorcuts are to be created in very simple terms. You can choose the EXE from which the icon should be obtained (and which image if there are more than one embedded), but the "Icon/Exe File" field is for just that-- it does not dictate what the shortcut will run when executed (it will simply run the selected executable file).
For the location of the shorcut you have three basic choices: Desktop, Program Menu or Quick Launch. An ability to specify a subfolder is a requested feature that does not yet exist. To vote up this feature request, please visit: http://kace.uservoice.com/forums/82719-free-tools/suggestions/1169769-ability-to-specify-custom-shortcut-paths
Right now, if you want to change the location of the shortcut or customize the shortcut to include optional parameters, you will need to do so using a separate MSI editor such as InstEd or Orca.
InstEd: InstEd Home Page