Windows installer - geosolutions-it/MapStore GitHub Wiki
##Overview
The Windows installation script has been created using the NSIS Installer. The folder release/installer/win contains only the scripting part, which must be compiled using NSIS right after copying the necessary release files into the bin folder. In the next section, a step-by-step explanation on how to create a new MapStore EXE installer.
##Setup
-
First of all you need to download and install NSIS Installer from here: http://nsis.sourceforge.net/Main_Page
-
Be sure also to install the NSIS Access Control Plugin: http://nsis.sourceforge.net/AccessControl_plug-in
-
Build a MapStore dist or get a release; you need to get anything that will be created under mapstore folder
- In order to build a release version of MapStore, you need to
cd
into your gitcloned mapstore working dir and issue the commandant release
- In order to build a release version of MapStore, you need to
##Create the Installer
Once the system is ready and you have collected the mapstore release files:
-
copy all the mapstore release files under "release/installer/win/bin"
- if you are using a release you just built, you have to
cp -a $MAPSTORE_WORKING_DIR/build/mapstore/* $MAPSTORE_WORKING_DIR/installer/win/bin
- if you are using a release you just built, you have to
-
click with the right mouse button over "MapStoreEXE.nsi" and from the contextual menu select: *Compile NSIS Script"
-
wait until completion, and at the end test the installer in order to be sure everything has gone as espected
The new installer is ready to be distributed under release/installer/win