PDA

View Full Version : Setting [PRODUCTVER] from command line



NewsArchive
03-23-2007, 05:07 AM
The docs say:

[PRODUCTVER]-Enter the complete product version for this product. The
setup registers the major and minor version numbers as required by
Windows logo guidelines. The brackets [] denote that the item
contained within the brackets is a compiler variable. Runtime
variables, such %TEST%, are not permitted.

So how can I set the version from the command line for an automated
build?
---------------------------------------------------------------
Steve Rothkin
Developer, DJ Manager Software
www.djmgr.com

NewsArchive
03-23-2007, 05:08 AM
In SB6 build 1750 you can use the following to set a compiler variable from
the command line:

#const $TEST$ = Get Value from compiler command line
#set compiler variable [TEST] = "$TEST$"

HTH,

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

"point. click. ship" - that's SetupBuilder 6
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner