Archive: NSIS Help


NSIS Help
Hello guys..!!
I am new to NSIS and for the last 3days I have been looking around for related stuffs and playing with some scripts.
Would you guys please suggest me some links or tutorials that I can go through to get a better understanding and create a full installer with Databse backup, network connection and some .exe installations for my project.

Thanks in advance!!


To learn NSIS, start with NSIS\Examples\Example1.nsi and Example2.nsi. Find out what every command does and why, using the command reference: http://nsis.sourceforge.net/Docs/Chapter4.html

Once you've done that, you can move on to learning about things like logiclib and nsDialogs.

As for your specific requirements: NSIS isn't a database application, so you'll have to ask your database software developer about how to interface with your database. No idea what you mean with network connection. NSIS can access any path that explorer can. Also no idea what you mean with an .exe installation. All NSIS installers are .exe files.


thanks a lot dude..
actually I am working on an installer that is required to take a backup of my database using the NSIS plugin, then go for some validations and then run some executable file after setting the environment variables. I mean my script needs to include .exe files within itself..


Running an exe packed into your installer:

section yoursection
initpluginsdir
setoutpath $pluginsdir
file "yourfile.exe"
ExecWait '"$pluginsdir\yourfile.exe" -param1 -param2'
delete "$pluginsdir\yourfile.exe"
sectionend