Change shortcut target - 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!

mattgilbert
Posts: 1
Joined: Mon Dec 14, 2009 5:07 pm

Change shortcut target

I need to create a shortcut, but the target of the shortcut will be 1 of three possible EXE files. I've got the EXEs separated into features, and a custom dialog with custom action (VBscript) to select the executable. I can't create three of the same shortcut, because the shortcuts can't have the same name.

Any suggestions? Thanks
Matt
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Change shortcut target

Hi Matt,

You can place the three shortcuts each in a different folder, then use the Install folder content into the parent folder on them to install them in the parent folder. You can condition which of the three folders will be installed by placing them in different components and condition the installation of those components.

The following guide on How do I install different versions of a file based on... shows a similar implementation.

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

Return to “Common Problems”