lubosh
Posts: 11
Joined: Mon Feb 05, 2007 6:22 am

Variables: not working everywhere

I would like to use [|ProductVersion] variable in Product Name field and for some shortcuts. Product Name field resolves the variable correctly however if I use the variable as part of the shortcut name, it won't get resolved. I can get around this for a while and just manually keep changing names at multiple places but could you please at least confirm whether is this bug or not?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Variables: not working everywhere

Hi,
if I use the variable as part of the shortcut name, it won't get resolved.
Can you please give me more details about this? What version of Advanced Installer are you using? Also, what is the exact string you are using for the name of the shortcut. Note that the "Name" field in the Edit Shortcut Properties dialog should be set to something like this:

Code: Select all

My Shortcut [|ProductVersion]
Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
lubosh
Posts: 11
Joined: Mon Feb 05, 2007 6:22 am

Re: Variables: not working everywhere

Hi, I'm using 6.4 version

This is very simple application in terms of number of executables, having only two shortcuts. One on the desktop and one in Start menu. Both shortcuts have names identical to [|ProductName] variable.

Product name is something like:

NameOfApplication [|ProductVersion]

Product version is for example 1.5

Now, I've tried to give my shortcuts names: [|ProductName] or NameOfApplication [|ProductVersion]

none of these variables in shortcuts get resolved however these very same variables work perfectly fine for me in other places. I double checked that I didn't mis-type anything and also installer indicates correct value within GUI when I mouseover, so my input is 100% correct.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Variables: not working everywhere

Hi,

I'm not sure why you are encountering this behavior. Can you please send us the AIP (Advanced Installer Project file) with the problem to support at advancedinstaller dot com so we can investigate it?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”