davekr
16th August 2007 18:14 UTC
Add files to existing NSIS exe?
We are currently using MSI for our product installation, but we have been considering a move to Nullsoft (which we already use for a few other things). We have a feature where our product can create a new installer with some custom settings to be distributed to users. To accomplish this with the MSI, we programmatically stream some files into an existing MSI. Can anyone tell me if there would be any way to insert files into an existing NSIS .exe?
Thanks,
Dave
Red Wine
16th August 2007 18:25 UTC
Edit the existing nsis script (nsi) add what new files you need to add and recompile the nsi.
That's easy and straight forward.
davekr
16th August 2007 18:34 UTC
This needs to be done on a client machine, which will not have a Nullsoft compiler on it.
Red Wine
16th August 2007 18:49 UTC
There isn't way yet to allow add files into an existing compiled installer.
kichik
16th August 2007 19:58 UTC
You can use this:
http://nsis.sourceforge.net/ReadCustomerData