jammusi
1st February 2010 17:30 UTC
Pushing external values to the stack
Hi,
Is that possible to push values to the NSIS stack from an external application lunched by setup.
The external application is a C# application that performs some of the setup tasks and is lunched with ExecWait
Tx
Anders
1st February 2010 17:49 UTC
With ExecWait, no. Just pass $pluginsdir to the app on the command line and have it save stuff there in a file, then read it back later. (Or rewrite the app as a dll that you can call from nsis)
jammusi
1st February 2010 18:08 UTC
What do you by:
(Or rewrite the app as a dll that you can call from nsis)
MSG
2nd February 2010 06:36 UTC
He means creating an NSIS plugin. Search the forums, or google.
jammusi
2nd February 2010 09:57 UTC
OK thanks.
Currently we decided to do it via registry as the returned value should actually be written to registry.
So for the current need the external application - will generate the value and instead of returning it back to the setup (to be written to registry), it will directly write it to the registry.