I am building an installer for a somewhat complicated product/installation. I need to:
- 1. Create a local user folder "My Documents"/MyApp
2. Set a user environment variable that points to this directory.
My understanding from reading the docs and this forum is that this can be accomplished by means of making the Application Shortuct an "Advertised Shortcut". An Advertised Shortcut, will then restart the msi file and perform the actions that need to be done for the user. Is my understanding correct?
I have, through the Files and Folders page, set the Application Shortcut to be an Advertised Shortcut. I have also added a Dialog to the installation that asks if the install should be performed for everyone or just the current user. Also, on the Instal Parameters page, I have set the Installation Type to: Per-machine if user is administrator, Per-user otherwise.
Where am I going wrong?
Thanks,
JJ
FOLLOW US
Get the latest news in Application Packaging