Hi Arnaud,
If you need a shortcut installed for a specific user account on the desktop, depending on what the user chooses at the install time of your setup, you should add a control on a custom or existing dialog that sets the install condition of your shortcut's component.
First you can try to add a shortcut in two locations( per-user and per-machine ) from the Files and Folder Page. For example on Windows Vista the location for the per-machine desktop is:
and this location will be automatically resolved by Windows Installer in the Desktop folder on the Files and Folders page since your whole package is set per-machine.
You can add the per-user( e.g. Arnaud user also for Vista ) as a property based folder:
For more information on how to achieve this, please follow
this article.
In the end you can add a radio button group who's public property is also set as "Condition" for each shortcut's component in the Organization Page. This way when a radio button is selected, its corresponding shortcut component will be installed in the specified location.
Best,
Mihai
FOLLOW US
Get the latest news in Application Packaging