Associating Shortcuts with features - 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!

smtmatt
Posts: 1
Joined: Tue Jul 15, 2008 11:50 am

Associating Shortcuts with features

Hi

Is it possible to associate a shortcurt (Application Shortcut Folder) with a feature?

I need a shortcut to only be added to the start menu if a specific feature is installed.
When I change the feature dropdown on the Files and Folders page nothing changes, I had assumed that this would allow me to add files only to specific features.
And you can't see these files on the Organisation page.

I am using version 6.4.

(By the way, although you may have already covered this in a different post it is impossible to search the posts to find out as both the word 'Feature' and the word 'Shortcut' are banned from your search!)

Thanks
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Associating Shortcuts with features

Hi,

A shortcut to an installed file is placed in the component of its target. Therefore, if the feature which contains the component of the shortcut target is installed, the shortcut will be created.

However, if you want to create multiple shortcuts which have the same target, but they are created by different features, you can use shortcuts to an external file. This type of shortcuts can be moved to any component, therefore you can move them into the features you want.

Basically, you can follow these steps:
- go to the Files and Folders page and create shortcuts to external files
- these shortcuts should point to files from the installation folder (for example, you can set the Shortcut Target field to something like "[APPDIR]myApp.exe")
- go to the Organization page and move the shortcuts into the features you want

This way, a shortcut will be created only if its feature is installed.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”