The scripts in this directory are intended to create a full package of greater for Windows installation. Prerequisites: NSIS installed Depends.exe in your %PATH% These scripts are developed and optimized for usage on a Windows System, with some editing (removing the dependency to depends.exe) it should also be possible to use them on Linux. To create the installer you need to create a directory tree in the following way: Make shure that pydagreater can be loaded and all nececessary dependencies are in GREAT-ER-DB/GreaterDB / < this is usually your emerge root directory /bin/Administration.exe ... .... /greater/GREAT-ER /greater/GREAT-ER-DB /greater/packaging In the packaging directory you have to put external packages like Postgres and the redistributable packages of the msvc runtime. The redistributable packages should be named: vcredist_x86.exe (For vc9 runtime) vcredist-80_x86.exe (For vc8 runtime) Both are obtainable from microsoft.com and may be redistributed as part of an installer package. Python is expected to live in /greater/python and will be packaged as "is" from there. To package the greater_pre_processing you also need to have cygwin installed Then from your /greater directory execute: python packaging/makepackage.py If errors occur the last 20 lines of the nsis output are shown. You might want to edit the settings in makepackage.py The created binary package will be placed in /greater/packaging Default Settings for the postgres server: No shortcuts serverport 8890 serviceaccount greater password greater prefix $INSTDIR\postgres datadir $INSTDIR\GREAT-ER-DB\database Be aware that for distribution you also need to create a source package!