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.
Shortcut location
-
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
Use code like this:
Just one idea to do it, many other approaches will work as well.
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/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 29 guests