Archive: Calling a dll outside a section?


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!


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


Many thanks, I hadn't thought of that!