2011-01-03 04:13:09 +01:00
|
|
|
@echo off
|
|
|
|
rem
|
|
|
|
rem Project: OpenPilot
|
|
|
|
rem NSIS installer script file for OpenPilot GCS
|
|
|
|
rem The OpenPilot Team, http://www.openpilot.org, Copyright (C) 2010-2011.
|
|
|
|
rem
|
|
|
|
rem This script requires Unicode NSIS 2.46 or higher:
|
|
|
|
rem http://www.scratchpaper.com/
|
|
|
|
rem
|
|
|
|
rem Optional SVN utility to get currently used SVN revision is SubWCRev.exe,
|
2011-01-28 19:18:08 +01:00
|
|
|
rem it is a part of TortoiseSVN package or is available separately:
|
2011-01-03 04:13:09 +01:00
|
|
|
rem http://sourceforge.net/projects/tortoisesvn/files/Tools/1.6.7/SubWCRev-1.6.7.18415.msi/download
|
|
|
|
rem
|
|
|
|
|
|
|
|
rem Set path to NSIS compiler
|
|
|
|
set NSIS=%ProgramFiles%/NSIS/Unicode
|
|
|
|
set NSISC=%NSIS%/makensis.exe
|
|
|
|
|
2011-01-24 20:27:49 +01:00
|
|
|
rem Input script file (in the same directory as this batch file)
|
|
|
|
for %%D in (%0) do set NSI=%%~dD%%~pD\openpilotgcs.nsi
|
2011-01-03 04:13:09 +01:00
|
|
|
|
|
|
|
rem Build installer
|
2011-01-27 14:19:42 +01:00
|
|
|
echo Generating Windows installer...
|
2011-01-03 04:13:09 +01:00
|
|
|
"%NSISC%" /V2 %NSI%
|