Shortcut location

For all your non-technical questions.
khalprin
Posts: 46
Joined: Fri Aug 25, 2006 2:02 pm

Shortcut location

Postby khalprin » Tue Oct 03, 2006 4:51 pm

Hello,

I'm testing out an install where I need to create shortcuts like this:

program files\\mycompany\\myproduct\\Shortcut1
program files\\mycompany\\myproduct\\Shortcut2
program files\\mycompany\\Shortcut3

I've got the shortcuts (1 and 2) for the product in $SHORTCUTFOLDER$. How do I reference the menu location for mycompany's common shortcuts (Shortcut3)?

Thanks.

CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Postby CandiceJones » Tue Oct 03, 2006 6:44 pm

Use code like this:

Code: Select all

Set Variable PARENTSHORTCUTFOLDER to $SHORTCUTFOLDER$
Extract Parent Folder: PARENTSHORTCUTFOLDER
Create Shortcut $PARENTSHORTCUTFOLDER$\\my shortcut to myfile.exe

Just one idea to do it, many other approaches will work as well.
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Non-Technical”

Who is online

Users browsing this forum: No registered users and 29 guests