Archive: Can NSIS scripts be compiled into DLLs?


Can NSIS scripts be compiled into DLLs?
Can NSIS scripts be compiled into DLLs or static LIBs, using .nsh files as an interface (and documentation) only?

In other words, can NSIS scripts be used to create plugins (similar to the nsis-registry-3.6 plugin, for example), comprised of a separate .nsh interface and .dll module?

If so, how do I go about it?


I don't think so. But you can simply create your own NSIS Plugin DLL in C or Delphi.

And, if you want to use the NSIS scripting language, what is wrong about creating a .nsh file and using it in all installers that need it?