Page 1 of 1

I would like the 'Program Group' GUI to show the version

Posted: Thu Sep 19, 2013 8:54 am
by JohnO
What do I have to do so that when the installer's GUI panel to define the Program Group appears, the folder name shows the version, eg: 'My App 2.1'

I have defined the Shortcut's Link Location as: $SHORTCUTFOLDER$ $VERSION$
This creates the folder containing the shortcuts in the start menu as 'My App 2.1'. However, when the Program Group panel appears the version is missing. If I add '2.1' in the GUI, this results in a folder name of 'My App 2.1 2.1'. Which is not sensible.

Regards, John

Re: I would like the 'Program Group' GUI to show the version

Posted: Fri Sep 20, 2013 10:24 am
by FrancescoT
Dear John,

why don't you use the "Link Name" to enter your shortcut name instead of "link location"?

... by the way, how did you define the project title?

Regards

Re: I would like the 'Program Group' GUI to show the version

Posted: Mon Sep 23, 2013 9:13 am
by JohnO
Dear Francesco
Just to double-check. What I was hoping to do was to display the version in the attached installer panel. If it isn't possible or easy, it isn't so important - just a nice-to-have.

I have just tried putting the version in 'Link Name' - e.g for the executable, but the variable doesn't get resolved. I have used both:

Code: Select all

#TITLE# #VERSION#

and

Code: Select all

#TITLE# $VERSION$


Both of these show the symbolic name in the installed shortcut.

When the version ($VERSION$) is defined in Link Location, it is resolved to the name of the installed shortcut's parent folder. However, that leaves it open to having the version twice in the installed shortcut's parent-folder name, if the user adds a version during install.

My conclusion is that it isn't possible to get the $VERSION$ to be displayed as the version number in the Program Group installer panel. If that's how it is, then that's how it is.

In answer to your last question, the TITLE (Product Name) is "Romonet Software Suite".

Regards, John

Re: I would like the 'Program Group' GUI to show the version

Posted: Tue Sep 24, 2013 4:49 pm
by FrancescoT
Dear John,

could you please have a look at the following link, where is available a sample that demonstrates how to use project Title & Version using compiler variables?
http://www.installaware.com/forum/viewtopic.php?f=2&t=8927

Maybe I am wrong, but I have the suspect that probably you are not using the correct approach ... (supposing I have not missed anything).

Regards

Re: I would like the 'Program Group' GUI to show the version

Posted: Wed Sep 25, 2013 10:07 am
by JohnO
Dear Francesco
Thanks for the sample project. It prompted me to see how to provide a value for a pre-defined compiler variable from a user-defined one. e.g $VERSION$ gets set from #MYVERSION#, which can be set or passed in as a command line variable.

The actual answer to this question was to add $VERSION$ to the 'Shortcut Folder' field on the Project Properties panel. Duh!It was looking at the sample project that caused me to notice this field again.

Thanks.
John