Old 28th October 2011, 15:12   #1
fazerty
Junior Member
 
Join Date: Oct 2011
Posts: 3
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
fazerty is offline   Reply With Quote
Old 28th October 2011, 16:19   #2
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
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.
MSG is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump