Page 1 of 1

Shortcut location

Posted: Tue Oct 03, 2006 4:51 pm
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.

Posted: Tue Oct 03, 2006 6:44 pm
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.