Variable in Shortcutname
Posted: Tue Apr 26, 2016 12:45 pm
by do1o
Hi,
I´am trying to put a version number within a shortcut name.
Nether "RKA V#VERSION#" nor "RKA V$VERSION$" works. What is wrong?
Oliver
Re: Variable in Shortcutname
Posted: Tue Apr 26, 2016 1:36 pm
by FrancescoT
Dear Oliver,
with the Windows Installer engine, script variables are not allowed in the "Link Name" field while with the Native Engine, variables are allowed.
So if your setup is based on Windows Installer engine (which is by default), you cannot use $VERSION$ in the "Link Name" field.
Due of this, you may create a custom compiler variable at such purpose (Press SHIFT+CTRL+F11) and then to use it for the shortcut name (... it's not available a pre-defined compiler variable as #VERSION#).
Hope this helps you.
Regards