PDA

View Full Version : Version info etc.



NewsArchive
01-22-2005, 07:59 AM
[Monday, January 10, 2005 6:55 PM]

Hi Friedrich,

I'm still on build 979 but yesterday I was setting up an install and
would have liked to be able to use the version information that I had
entered into "Version Resource|File Version" in the "Installer
Background|Footer Text" like:

Icetips Software - Version %FILEVERSION% - January 9, 2005

Also [PRODUCTVER], [PRODUCTNAME], [APPTITLE] etc. could come in handy
when constructing the background. Such as putting the [PRODUCTNAME]
in the header. It would also be nice to have access to the
information in the "Add/Remove Programs" such as Publisher, Publisher
URL etc. etc.

It would also be nice to be able to kind of use the infromation
interchangably, such as use Publisher in the "Company Name" in the
Version resources. It would save a lot of typing and also make it
very easy to set up template installs.

Best regards,

Arnór Baldvinsson
Icetips Software

NewsArchive
01-22-2005, 07:59 AM
[Monday, January 10, 2005 7:13 PM]

I agree.

Brent Stock, Christchurch, New Zealand
Clarion 6.1EE, Win2000 Server SP4, Discussion Client 2.5q
"There are only 10 kinds of people, those who understand binary and those who don't"

NewsArchive
01-22-2005, 08:01 AM
[Tuesday, January 11, 2005 2:16 PM]

Hi Arnór,

> I'm still on build 979 but yesterday I was setting up an install and
> would have liked to be able to use the version information that I had
> entered into "Version Resource|File Version" in the "Installer
> Background|Footer Text" like:
>
> Icetips Software - Version %FILEVERSION% - January 9, 2005

I think this is already available. It should be possible to use compiler
variables (e.g [PRODUCTVER]) in the "Installer Background|Footer Text.

> Also [PRODUCTVER], [PRODUCTNAME], [APPTITLE] etc. could come in handy
> when constructing the background. Such as putting the [PRODUCTNAME]
> in the header. It would also be nice to have access to the
> information in the "Add/Remove Programs" such as Publisher, Publisher
> URL etc. etc.


Just tested the following with build #1013 (will be available later today):
Icetips Software - Version [PRODUCTVER] - January 9, 2005

> It would also be nice to be able to kind of use the infromation
> interchangably, such as use Publisher in the "Company Name" in the
> Version resources. It would save a lot of typing and also make it
> very easy to set up template installs.

This should already work fine in #993. You can use compiler variables to
handle this.

Does this help?

Friedrich

--
Friedrich Linder
www.lindersoft.com
Fax: 1.954.252.3910

NewsArchive
01-22-2005, 08:02 AM
[Tuesday, January 11, 2005 6:45 PM]

Hi Friedrich,

>Just tested the following with build #1013 (will be available later today):
>Icetips Software - Version [PRODUCTVER] - January 9, 2005

Yes, this does work.

>> It would also be nice to be able to kind of use the infromation
>> interchangably, such as use Publisher in the "Company Name" in the
>> Version resources. It would save a lot of typing and also make it
>> very easy to set up template installs.
>
>This should already work fine in #993. You can use compiler variables to
>handle this.

There is a slight problem. Yes, I can use the [PRODUCTVER], but I can
not create my own variables in the script editor to use for the values
of [PRODUCTVER] etc. as far as I can tell in #979.

What I would like to do is to create variables in the Script Editor
that I could use in the various places like to put into the
[PRODUCTVER] etc. That way I would only have one place to change them
(like version number) and I could have it all ready in the SE:)

I'll download the latest build when it's ready and start testing
again:)

Best regards,

Arnór Baldvinsson
Icetips Software

NewsArchive
01-22-2005, 08:02 AM
[Tuesday, January 11, 2005 6:52 PM]

Hi Friedrich,

>What I would like to do is to create variables in the Script Editor
>that I could use in the various places like to put into the
>[PRODUCTVER] etc. That way I would only have one place to change them
>(like version number) and I could have it all ready in the SE:)

I just tried a constant $VERSIONNUMBER$ and it is also taken as
literal string. So it seems that the compiler variables are the only
ones that can be used...

Best regards,

Arnór Baldvinsson
Icetips Software

NewsArchive
01-22-2005, 08:03 AM
[Tuesday, January 11, 2005 7:01 PM]

Hi Arnór,

Yes, this is correct. The problem is that the installer displays the
"background" before any variable is initialized and before the script engine
is executed (what you see on the background is compiled into the Win32
setup.exe).

Of course, you can define your own compiler variable and then use this in
the script editor. For example, create [MY_VERSIONNUMBER] and use it in the
script editor as Set Variable %MY_VERSIONNUMBER% to [MY_VERSIONNUMBER]

Then you only have to change this in the compiler variable screen.

Friedrich

--
Friedrich Linder
www.lindersoft.com
Fax: 1.954.252.3910

NewsArchive
01-22-2005, 08:03 AM
[Tuesday, January 11, 2005 8:32 PM]

Hi Friedrich,

>Of course, you can define your own compiler variable and then use this in
>the script editor. For example, create [MY_VERSIONNUMBER] and use it in the
>script editor as Set Variable %MY_VERSIONNUMBER% to [MY_VERSIONNUMBER]
>
>Then you only have to change this in the compiler variable screen.

AWSOME! That's EXACTLY what I was looking for. Wow!

Now I can create a template that I can use for all my installs because
I'm old and lazy and like everything to look the same<bg>

Best regards,

Arnór Baldvinsson
Icetips Software

NewsArchive
01-22-2005, 08:04 AM
[Tuesday, January 11, 2005 8:46 PM]

Hi Friedrich,

>Then you only have to change this in the compiler variable screen.

Can you add the Ctrl-Right click to insert variable to all entry
fields? I also think it should list the compiler variables (it
doesn't in #979.

For example in the "General Information" window, "Add/Remove" tab none
of the entries accept Ctrl-Right click. So as it is I need to create
the compiler variables, then either note them down or remember them
(impossible!<g>) to use them.

Idea: A toolbox window similar to the Clarion field toolbox. Double
click on a variable and it pastes it into the entry with focus?

Best regards,

Arnór Baldvinsson
Icetips Software