|
|
#1 |
|
Junior Member
Join Date: Mar 2010
Posts: 4
|
Version number in OutFile
Please! How append my exe-file version to installer output name dynamically? For example: mysoft-setup-2.5.200.exe. Using
is not appropriate method (static).code: doesn't work too, because executes after OutFile.code: |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Nov 2005
Posts: 115
|
|
|
|
|
|
|
#3 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
|
!searchparse might also be able to help you out
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#4 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
And it should be
!define VERSION 2.5.200 not !define $VERSION 2.5.200 . |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Mar 2010
Posts: 4
|
Thanks to all!! You're right all. Link http://nsis.sourceforge.net/Invoking...n_compile-time is a great solution. How did I miss it?
!searchparse is useful, I think, if version number exists in source code (not my case). And of course it should be It was typing error.code: Thanks again! |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|