|
|
#1 |
|
Junior Member
Join Date: Oct 2006
Posts: 2
|
Calling a dll outside a section?
I have a dll to extract build information from the application I'm building a setup script for, and I want to use that information in the script itself. Is it possible? I don't want the dll to be included in the script.
The dll would simply gets the version information for the main exec file and set the name of the installer with it, so it would need to run outside of a section, I think. I've not done much scripting with NSIS yet, just the basic stuff. So let me know if there's an alternative or if it's not possible at all. Thanks! |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
|
you can call a external program (another NSIS "installer" or other program) with !system at compile time, this program would produce a .nsh with defines you can include in your real installer
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Oct 2006
Posts: 2
|
Many thanks, I hadn't thought of that!
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|