Old 3rd July 2020, 13:01   #1
speedcristal
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.
speedcristal is offline   Reply With Quote
Old 3rd July 2020, 14:18   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,294
!getdllversion or Getdllversion

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 3rd July 2020, 15:37   #3
speedcristal
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.
speedcristal is offline   Reply With Quote
Old 3rd July 2020, 15:44   #4
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,294
Does not work means what exactly? Compiler error?

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 3rd July 2020, 15:59   #5
speedcristal
Junior Member
 
Join Date: Jul 2020
Posts: 5
Yes, compile error. So are you able to show an example of script?
speedcristal is offline   Reply With Quote
Old 3rd July 2020, 19:00   #6
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,294
And the error message is?

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump