PDA

View Full Version : Version Control



NewsArchive
09-25-2005, 08:09 AM
How does one modify an installer so that the version number appears on the
welcome screen after the product name?

Sim

NewsArchive
09-25-2005, 08:09 AM
.... and before anyone jumps down my throat, the info does exist in General
Information under File Version, and yes, my script does include [PRODUCTVER]
but nothing shows in the GUI. Having a look at VIEW - COMPILER VARIABLES,
the field PRODUCTVER is empty.

Sim

NewsArchive
09-25-2005, 08:09 AM
Sim,

"File Version" is the version resource!!! The user accesses this information
from within Windows Explorer by right clicking on the setup file and
choosing Properties.

Just change the DLG_WELCOME_TEXT text resource to the following:

The wizard will install [PRODUCTNAME] [PRODUCTVER] on your computer.

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
09-26-2005, 08:50 AM
Got it. Thanks, Friedrich!

Sim
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

NewsArchive
09-26-2005, 08:50 AM
Hi Sim,

>Got it. Thanks, Friedrich!

One additional option is to call a dll or whatever to retrieve the
version information from an external file and put that into a compiler
variable that you could then use in the SB5 script. I haven't done
it, but it could come in handy to make sure that the script has the
correct version information from the product being installed.

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com

NewsArchive
09-26-2005, 08:50 AM
Mmm. That does sound like a good idea...

Sim

NewsArchive
09-26-2005, 08:51 AM
I always thought it would be a nice feature if SB5 could obtain the
version resource information from a designated file in the install and
update it's internal data accordingly. I just keep forgetting to
suggest it. Almost as often as I forget to manually update the data
when I build a new installer. :)

- Kelly

NewsArchive
09-26-2005, 08:51 AM
Hi Kelly,

>I always thought it would be a nice feature if SB5 could obtain the
>version resource information from a designated file in the install and
>update it's internal data accordingly. I just keep forgetting to
>suggest it. Almost as often as I forget to manually update the data
>when I build a new installer. :)

That is why I have my web update install pop up messages to remind
me<g>

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com