Create an installer
This is an example of a windows installer for uDig. It was adapted from the geoserver nsi file.
Building
- First download and install the NullSoft installer NSIS.
- Unzip the eclipse RCP Runtime to a directory of your choice
- Unzip your uDig release on top of that
- Copy the following files to the directory where you unziped eclipse, right next to the eclipse/ directory.
- Copy the 2 icons to the eclipse/icons/ directory.
- [uDig Icon|
http://svn.geotools.org/udig/trunk/deploy/installer/32-uDigIcon.ico] - [uDig Uninstall Icon|
http://svn.geotools.org/udig/trunk/deploy/installer/32-uninstallIcon.ico]
- [uDig Icon|
- Edit the uDigInstallScript.nsi file and adjust it to your needs.
- Name "uDig 1.0.RC4"
- OutFile "udig1.0.RC4.exe"
- Open NSIS compiler open the uDigInstallScript.nsi file and it will compile the .exe in the same directory.
- Hit Test Installer to run it.