sbsv2/raptor/util/install-windows/raptorinstallerscript.nsi
changeset 427 d8edd94cd8e2
parent 426 ae9510aa2ca1
--- a/sbsv2/raptor/util/install-windows/raptorinstallerscript.nsi	Wed Mar 31 13:51:26 2010 +0100
+++ b/sbsv2/raptor/util/install-windows/raptorinstallerscript.nsi	Wed Mar 31 17:11:36 2010 +0100
@@ -188,6 +188,7 @@
 	
 	# Generate batch file to set environment variables for Raptor
 	StrCpy $RESULT "@REM Environment variables for ${INSTALLER_NAME}$\r$\nset SBS_HOME=$INSTDIR$\r$\nset PATH=%SBS_HOME%\bin;%PATH%$\r$\n"
+	SetOutPath "$INSTDIR"
 	!insertmacro WriteFile "RaptorEnv.bat" "$RESULT"
 SectionEnd