--August 18, 2009 -- this is a work in progress
Create a windows setup exe using NSIS ¶
This is what is used by PostgreSQL Application Stack Builder to deploy PostGIS and may be something you want to do if you are deploying your own applications.
- Download and install Null Soft scriptable installation system (NSIS). http://nsis.sourceforge.net/Download
As of this writing 2.45 is the latest version
- Download Execdos plugin from http://nsis.sourceforge.net/ExecDos_plug-in and copy the .dll into your Program Files/NSIS/Plugins directory
- Download the appropriate NSIS installer scripts for PostGIS from http://postgis.refractions.net/download/windows/
- Create a distfiles folder on same level as wininst and copy your compiled libraries etc. into that folder
(to get a sense of how the folders are structured in versions extract an existing nsis setup (you and just use 7zip on any unzipper)
- Modify the inputfiles.nsh accordingly to copy the files from distfiles to install directory
- Make modifications to postgis.nsi accordingly (mostly just the PostgreSQL version needs to be unremarked.
- Right-mouse click on the postgis.nsi and choose "Compile NSIS Script"
Last modified
16 years ago
Last modified on 08/18/09 00:49:03
Note:
See TracWiki
for help on using the wiki.