Start menu shortcut - 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!

Rigesh
Posts: 9
Joined: Thu Dec 22, 2011 9:32 am

Start menu shortcut

Hi,

I want to create shortcut on ADMINISTRATOR and Current User account, Start Menu Program files section. Is it possible to create short cut for this condition through Advance installer ?

Thanks & Regards
Rigesh E
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Start menu shortcut

Hi Rigesh,

For the current user you need to only go in Files and Folders and place the shortcut under the predefined folder "Application Shortcut Folder".

Also, very important, you need to go to Install Parameters page and set the install type to "Per user only (wtih administrator rights required)", if it is a per-machine
install the shortcut will be created for all user accounts.

Now, for the Administrator account you will first need a custom action to retrieve the full path of the "Start Menu" from the machine, at install time, and set a public property with that path. The public property will then be used to create a property based folder in Files and Folders page, in which you place the second shortcut. You should also set a condition on the component of the new folder, in Organization page, to not create the shortcut is the current user is already "Administrator".

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Rigesh
Posts: 9
Joined: Thu Dec 22, 2011 9:32 am

Re: Start menu shortcut

Hi Bogdan,

Thanks its working ...


Rigesh E
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Start menu shortcut

My pleasure Rigesh.

Best of all,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”