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

Got a problem you cannot solve? Try here.
JohnO
Posts: 127
Joined: Tue Jun 18, 2013 9:52 am

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

Postby JohnO » Thu Sep 19, 2013 8:54 am

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

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

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

Postby FrancescoT » Fri Sep 20, 2013 10:24 am

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

JohnO
Posts: 127
Joined: Tue Jun 18, 2013 9:52 am

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

Postby JohnO » Mon Sep 23, 2013 9:13 am

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
Attachments
ProgramGroupName.png
ProgramGroupName.png (13.76 KiB) Viewed 5866 times

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

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

Postby FrancescoT » Tue Sep 24, 2013 4:49 pm

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

JohnO
Posts: 127
Joined: Tue Jun 18, 2013 9:52 am

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

Postby JohnO » Wed Sep 25, 2013 10:07 am

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


Return to “Technical Support”

Who is online

Users browsing this forum: Google [Bot] and 87 guests