Archive: Modifying a NSIS setup ?


Modifying a NSIS setup ?
Hi,

I have done a little messenger software that I package with NSIS, which does a damn good job for me.

What I'd like to do now is to allow user to perform a preinscription on my website, and to autologin them when they run the software. That would be way more user friendly.

To do that, I'd need to add some data to the setup to be able to add their login/password to the Windows registry, or put them in a .ini file so the messenger can use them directly after the install.

I thought of trying to decompress the setup, inject a .ini and recompress it when the people download it, or use the NSIS compiler to build a personalized setup for each download, but this seems quite resource consuming for the server.

Do you have any idea how to do that better ?

Thanks for your input :)


why not download an ini, that was created on the server?


What does it change ?
Setup must know which ini it has to download, so we have to put something in the setup ?

Or i dit not understoud question / answer


Use:

http://nsis.sourceforge.net/ReadCustomerData


Originally posted by kichik
Use:

http://nsis.sourceforge.net/ReadCustomerData
Thank you very much, this is exactly what I need :)