|
#1
|
|||
|
|||
|
The new 'Custom version information' feature was something we all were waiting for, but I seem to be unable to use
%ProductVer% in the 'FileVersion' and 'Product Version' boxes of the 'Custom Version Information' section. After compiling the setup, the version info reads 0.0.0.0 - is that by design, or a bug? Can't I use the %ProductVer% varaible to dynamically set the version info? If not, this 'new feature' is kind of useless as it is a pain to remember to manually edit the information for each update I build. Thanks. |
|
#2
|
||||
|
||||
|
Hi Steve_K
If you are looking for dynamic custom version information use design-time constants. You can use the same desing-time constant for the %ProductVer% value and the custom version information. Session variables are dynamic and meant for the runtime, while design-time constants are meant for design and build times.
__________________
MSI Factory The Next Generation Intelligent Setup Builder |
|
#3
|
|||
|
|||
|
Will try that. Thanks!
|
|
#4
|
|||
|
|||
|
OK, tried that, but how do I get a design-time constant to be equal a session variable? Sorry for being a pain ... the help file does not tell me anything about that.
|
|
#5
|
||||
|
||||
|
Hi Steve_K,
The trick is to use the design-time constant for the value of %ProductVer%.
__________________
MSI Factory The Next Generation Intelligent Setup Builder |
|
#6
|
|||
|
|||
|
Sure - didn't get that.
|
|
#7
|
|||
|
|||
|
I have try with Setup Factory 8.0.
I have created a constants #VER# and I have assigned %ProductVer%. Afrer I have write on resources the constant #VER# on Comments Line, but the result are %ProductVer%. Any solution? Thanks |
|
#8
|
||||
|
||||
|
You should use the design time constant to set the session variable, not the other way around. Perhaps this is what you are doing?
Ulrich |
|
#9
|
|||
|
|||
|
I can't do the opposite?
I would like assign to constant the value into the session variables. Thanks Andrea |
|
#10
|
|||
|
|||
|
I hope this a good explination
Quote:
Simple method 1. Define Constant #VER# in Build Configuration 2. Set %ProductVer% to #VER# in Settings/Session Variables 3. Use #VER# in the 'Custom version information' 4. Use %ProductVer% in the action scripts This will allow you to only have to change the Product version in the Build Configuration/#VER#. The Action scripts can not modify the Product Version/#VER# but can still manipulate the %ProductVer% during runtime. |
|
#11
|
|||
|
|||
|
Quote:
Now I have understand. Thanks. Andrea |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bug? ComboBox Data with "Rename resource files" | rep | AutoPlay Media Studio 7.5 Suggestions | 1 | 05-27-2008 11:36 AM |
| TrueUpdate 2.0 Update (v2.0.6.0) Released | Brett | TrueUpdate 2.0 | 0 | 10-31-2006 02:10 PM |
| AutoPlay Media Studio 4.0.0.3 Released | Brett | AutoPlay Media Studio 4.0 | 0 | 12-11-2002 09:39 AM |
| INFO: Changing the Resource Information for a Setup.exe | Support | Setup Factory 5.0 | 0 | 10-15-2002 03:09 PM |
| INFO: Changing the Resource Information for a Setup.exe | Support | Setup Factory 6.0 Knowledge Base | 0 | 10-15-2002 03:09 PM |
All times are GMT -6. The time now is 12:24 AM.









Linear Mode

