2010-04-11 20:04:06 +02:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
rem settings and check ---------------------------------------------------------
|
|
|
|
set NSIS_PATH=%PROGRAMFILES%\NSIS
|
|
|
|
|
|
|
|
if "%VSINSTALLDIR%" == "" goto vsenvproblem
|
|
|
|
|
|
|
|
rem clean and compile solution -------------------------------------------------
|
|
|
|
devenv llcon.sln /clean "Release|Win32"
|
|
|
|
devenv llcon.sln /build "Release|Win32"
|
|
|
|
|
|
|
|
rem create installer -----------------------------------------------------------
|
2011-01-24 22:32:42 +01:00
|
|
|
"%NSIS_PATH%\makensis.exe" installer.nsi
|
2010-04-11 20:04:06 +02:00
|
|
|
|
2010-04-12 20:19:33 +02:00
|
|
|
move llconinstaller.exe ../deploy/llcon-version-installer.exe
|
|
|
|
|
2010-04-11 20:04:06 +02:00
|
|
|
goto endofskript
|
|
|
|
|
|
|
|
:vsenvproblem
|
|
|
|
echo Use the Visual Studio Command Prompt to call this skript
|
|
|
|
|
|
|
|
:endofskript
|