MSI with only one external 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!

wiem
Posts: 2
Joined: Wed Mar 11, 2009 6:55 pm

MSI with only one external shortcut

Hi,

I want to create a MSI which only creates a shortcut to a EXE which resides on the server (eg: \\texas\Telefonbuch\win32\something.exe). I created a external shortcut, erverythings seems to be fine. but when i run the MSI, only the appliaction folder is created but no shortcut, neither in the startmenu nor on the desktop. Is there a special trick with external shortcuts?

Best Regards
Martin
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: MSI with only one external shortcut

Hi Martin,

In order to install an external shortcut you need to make sure that its target exists in the specified location when the install runs. Also, in the Edit Shortcut Properties dialog the shortcut target should use a formatted value.

For example, if the target of the shortcut is " \\texas\Telefonbuch\win32\something.exe", you can create a custom property (for example "SERVER_PATH") in the "Install Parameters" page and set its value to " \\texas\Telefonbuch\win32\". After that, the shortcut target can be something like this:

Code: Select all

[SERVER_PATH]something.exe
Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
wiem
Posts: 2
Joined: Wed Mar 11, 2009 6:55 pm

Re: MSI with only one external shortcut

:-)
It works fine. Thx a lot!

Return to “Common Problems”