Hi
I have question regarding variables and Create Shortcut. I defined a variable as follows:
Set Variable MYSHORTCUT to Start application
I tried to use MYSHORTCUT variable in text field: Link Name of Create Shortcut command as follows:
Create Shortcut $SHORTCUTFOLDER$\\$MYSHORTCUT$ to $UNINSTALLLINK$
But unfortunately the result was $MYSHORTCUT$ and not Start application!!!
Moreover, I got the same result, when I used variables in Title, Subject and Author of Summary Information page, and same thing in Publisher Name, Contact Name, Help link and Product Updates Link of Add-Remove Programs page.
Any help will be great,
Thanks in advance,
Best Regards,
mqk
Variables and Create Shortcut
You cannot use variables in the Project Options dialog fields. These values are hard coded. Values may only be used in the script.
As for the Create Shortcut problem...unfortunately the name of the shortcut cannot be made dynamic (variable-based), this is an MSI limitation. That is why you had that problem. Otherwise, variables work normally.
As for the Create Shortcut problem...unfortunately the name of the shortcut cannot be made dynamic (variable-based), this is an MSI limitation. That is why you had that problem. Otherwise, variables work normally.
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
That's pretty creative 

Michael Nesmith
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: Google [Bot] and 36 guests