Monday, 27 October 2014

How to add NSIS plugin to Eclipse


Hi friends,


After lots and lots of search and comparison for the possibilities of automating installer development process for java product, I landed up on NSIS.
[you can find detailed use of it in HERE ]

Now to start dealing with it we need its integration with IDE, in order to simplify the work. [NSIS script work can be done with IDE but it is advised to use them].

The NSIS plugin is not pre-Installed with Eclipse standard setup. So to introduce it in Eclipse we need to do following steps.

Prerequisite:
  1.       Eclipse up and running [I am using eclipse LUNA]
  2.       Internet connection [ there is offline process of the same also ]
  3.      Check if the plugin is installed in IDE.
    •     Just go to File Menu --> New --> Other 
    •     If the EclipseNSIS is shown in the list displayed you don't need this tutorial ;) else move ahead. 




Step 1
Open Eclipse IDE goto

Help Menu --> install New Software

it will open the Install window as shown in below figure.

Now in this window you need to put up a url to get NSIS plugin 


at Work With : [field]

And click on the add button next to it. 



Step 2:

As you click Add update selection area will be populated with the list of all possible component provided. You need to select EclipseNSIS from the list.[here i have selected all possible option other than source code but its not a compulsion]. Then click on Next button




Step 3

Next you will see a confirmation page with respective details. Now click Next.


Step 4

Next is Accept the licence and agreement and click Finish button.


As we click on finish the process will start:
As installation processes completes, It will ask you to restart the IDE.

TA...DA...

Our plugin is ready.

You can easily verify the setup. Just goto File Menu --> New --> Other
In this window you will find the EclipseNSIS listed as shown below.


Now to get your hands dirty with NSIS. check this