PDA

View Full Version : Displaying a variable in Compiler Output window



NewsArchive
05-05-2006, 05:56 AM
Hi Friedrich,

Using SetupBuilder Professional ver 5.4.

I have the following few lines in beginning of a installer script
which reads a value from an INI file that gets generated when I
compile the program. I then use these values with the script to show
during installation what version this program is. All of this works
great.

[Initialize Setup]
#const $PS_PROGRAM_VERSION$ = Get Value from INI file:
c:\work\PSC170\version.ini
Set Variable %PS_PROGRAM_VERSION% to "$PS_PROGRAM_VERSION$"

What I would like to do but have not figured out the correct way is to
also show this value on the "Compiler Output" screen during the
compiling of the installation set. I tried the "#msg" but it just
shows the name of the variable and not the assigned value. What should
I be doing in order to accomplish this display during compiling?

Thanks in advance.

Barton Whisler
Prosoft Inc.

NewsArchive
05-05-2006, 05:56 AM
Hi Barton,

Hmm, in Version 5.3 Build 1393 we had the following:

IMPROVEMENT: [SB#601191] #msg and #msgbox compiler directives can resolve
compiler variables and constants now.

Compiler variables are displayed with #msg, but there seems to be a
regression with constants.

Item in review.

Thanks,
Friedrich

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

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

NewsArchive
05-05-2006, 05:57 AM
Barton,

Regression in build 146x :-( Fixed!

Thank you for bringing this to my attention.

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

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

NewsArchive
05-05-2006, 05:57 AM
Thanks!

Barton Whisler
Prosoft Inc.