Shortcut location

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

Shortcut location

Post by khalprin »

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:

Post by CandiceJones »

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
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply