Mixed ALLUSERS and current user shortcuts - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Smadash
Posts: 16
Joined: Thu Aug 06, 2009 9:44 pm

Mixed ALLUSERS and current user shortcuts

Hi

I need my installation to put a shortcut at the startup menu of the user installing the application, and
a different shortcut at the ALLUSERS startup menu.
I did not see any straight forward way to do it.
Any help will be appreciated.

Thanks
Asher
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Mixed ALLUSERS and current user shortcuts

Hello,

The per-user startup folder is the one listed on the "Files and Folders" page. This is true only if the install is per-user and not per-machine.
The per-machine startup folder will need to be manually added. To achieve this, do the following:
- on the Install Parameters page create a new property, let's call it ALLUSERSSTARTUP
- on the Custom Actions page, create a new Property Set with Formatted custom action. Set the "Property Name" field to ALLUSERSSTARTUP and the "Formatted Text" to "[%ALLUSERSPROFILE]\Start Menu\Programs\Startup"
- you can then create a Property Based Folder based on the ALLUSERSSTARTUP property. Simply go to the Files and Folders page, and add "New Folder->Property Based"

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”