fazerty
28th October 2011 16:12 UTC
Newbie question
Sorry in advance for all these questions
I would like to know if it's possible with nsis to:
- Check if sql server 2008 is installed
- Check if sql server 2008 sp 2 is installed. If not download it and install it.
- Launch a sql script
- Create an odbc dsn
- Check if several softwares are installed. If not use their installer embedded in installer.
- unzip files
- Write and read to registry
- Close a software
If yes (or no) do you know some web sites able to help me?
Many thanks
MSG
28th October 2011 17:19 UTC
All of the above is possible with NSIS.
To check sql installation, you can probably check for the appropriate registry key(s). See the registry instructions in the manual: http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.2
As for unzipping files with NSIS, have you tried google? There are several plugins for it. Also you can use 7za.exe if necessary.
To kill an application, I suggest you search the forums for killing a process. Lockedlist plugin comes to mind. But there may be other solutions, try google.