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
I would like the 'Program Group' GUI to show the version
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: I would like the 'Program Group' GUI to show the version
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
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
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
Re: I would like the 'Program Group' GUI to show the version
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:
and
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
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 (13.76 KiB) Viewed 5860 times
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: I would like the 'Program Group' GUI to show the version
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
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
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
Re: I would like the 'Program Group' GUI to show the version
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
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
Who is online
Users browsing this forum: No registered users and 80 guests