github.com/mattdotmatt/gauge@v0.3.2-0.20160421115137-425a4cdccb62/build/install/windows/Readme.md (about) 1 # Gauge packaging for Windows 2 3 ## Tools required 4 5 * Nullsoft Install System (http://nsis.sourceforge.net) 6 * Get [special builds](http://nsis.sourceforge.net/Special_Builds) with support for 8192 length Strings - copy and overwrite the binaries into the NSIS install location. 7 * NIS Edit (Optional, just for authoring the script files) 8 9 10 NSIS binaries should be added to path 11 12 ## Variables 13 14 * `PRODUCT_VERSION`: -> Version of Gauge 15 * `GAUGE_DISTRIBUTABLES_DIR`: Directory where gauge distributables are available. It should not end with `\` 16 * `OUTPUT_FILE_NAME`: Name of the setup file 17 18 ## Sample command 19 20 ``` 21 makensis.exe /DPRODUCT_VERSION=0.0.2 /DGAUGE_DISTRIBUTABLES_DIR=c:\gauge /DOUTPUT_DILE_NAME=gauge-0.0.2-windows-x86_64.exe "gauge-install.nsi" 22 ``` 23 24 This will generate a file called `gauge-0.0.2-windows-x86_64.exe` in the current path 25