Friday, April 15, 2011

Nullsoft Scriptable Install System (NSIS) - A Really Good Windows Installation System

I wanted to write an installation for IFRI data entry application which is currently being used to enter forest data to their database. The existing installation had some inconsistencies like users had to install the other required software themselves, some permission issues etc. So I had to search for a pretty stable installation system with all those features I wanted.

While searching I found this Harshani's blog about NSIS and thought to give it a try and  decided to write IFRI installer using NSIS. First it was not pretty simple and straight forward. I had to learn NSIS scripting language , tested examples in NSIS site. NSIS documentation was pretty helpful too. So finally I was able to write an installer for IFRI with all the features they expected and NSIS helped me a lot on that. I think it wouldn't be this easy and stable if I used another installation system other than NSIS.

So I'll post some tips and tricks I found  in NSIS scripting later. However Harshani's blog post about NSIS (stated above) is a nice post and shows how to build a simple installer. It will be a good first step on NSIS.

5 comments:

Ashoksundar said...

Hi,
your blog was interesting. I'm trying to do the same and facing a small problem.I'm using windows 7 64-bit OS. When the user selects Programfiles (x86) as the base directory to install, after creating the shortcut, the shortcut points to program files rather program files (x86). Have you ever come across this scenario??

kalani Ruwanpathirana said...

Hi Ashoksundar,

Hm..I don't think I came across such a scenario. Though it points to program files, the shortcut would still work I guess.

Ashoksundar said...

Hi Kalani,
It isn't working on my windows 7 (64bit) machine. Very good blog though. Keep up the good work. I will update if I find a work around.

John Paul said...

hi kalani,
this is john i used ur code its working fine.thanks... me too working in nsis script john.paul@pellucidnetworks.com if u have any doubts share ...we will

Maria Owens said...

This windows installation system is really awesome and we can see it is Script able also but we can hire interview transcription services or other services for writing help by the way the use theme of this page is really awesome.

Related Posts with Thumbnails