![]() |
#1 |
Junior Member
Join Date: Jul 2020
Posts: 5
|
NSIS : get the version of .exe
Hello,
I am doing a script with NSIS and I would like to be able to recover the version of the .exe file, but I am having trouble doing that. Do you have a simple example that could get the version of the .exe file, please? Thanks. |
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,548
|
!getdllversion or Getdllversion
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Jul 2020
Posts: 5
|
Yes, I tested it with NSIS 3.05 and it does not work.
Would you have a sample script, please? Thanks. |
![]() |
![]() |
![]() |
#4 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,548
|
Does not work means what exactly? Compiler error?
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#5 |
Junior Member
Join Date: Jul 2020
Posts: 5
|
Yes, compile error. So are you able to show an example of script?
|
![]() |
![]() |
![]() |
#6 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,548
|
And the error message is?
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|