From: <che...@us...> - 2008-12-02 11:12:30
|
Revision: 2387 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=2387&view=rev Author: chemelli_sf Date: 2008-12-02 11:12:25 +0000 (Tue, 02 Dec 2008) Log Message: ----------- Allow automatic detection of VS/NSIS path for both 32bit and 64bit systems Modified Paths: -------------- trunk/plugins/IR Server Suite/Build Deploy Debug.bat trunk/plugins/IR Server Suite/Build Deploy Release.bat Modified: trunk/plugins/IR Server Suite/Build Deploy Debug.bat =================================================================== --- trunk/plugins/IR Server Suite/Build Deploy Debug.bat 2008-12-01 20:45:21 UTC (rev 2386) +++ trunk/plugins/IR Server Suite/Build Deploy Debug.bat 2008-12-02 11:12:25 UTC (rev 2387) @@ -1,5 +1,10 @@ @ECHO OFF +REM Select program path based on current machine environment + +set progpath=%ProgramFiles% +if not "%ProgramFiles(x86)%".=="". set progpath=%ProgramFiles(x86)% + echo. echo -= IR Server Suite : Build Deploy Debug.bat =- @@ -9,7 +14,7 @@ echo. echo Building IR Server Suite... -"C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\devenv.com" /rebuild Debug "IR Server Suite.sln" >> build_debug.log +"%progpath%\Microsoft Visual Studio 8\Common7\IDE\devenv.com" /rebuild Debug "IR Server Suite.sln" >> build_debug.log echo. echo Reverting assemblies... @@ -21,4 +26,4 @@ IF NOT EXIST version.txt EXIT SET /p version=<version.txt DEL version.txt -"C:\Program Files (x86)\NSIS\makensis.exe" /DVER_BUILD=%version% setup\setup.nsi >> build_debug.log \ No newline at end of file +"%progpath%\NSIS\makensis.exe" /DVER_BUILD=%version% setup\setup.nsi >> build_debug.log \ No newline at end of file Modified: trunk/plugins/IR Server Suite/Build Deploy Release.bat =================================================================== --- trunk/plugins/IR Server Suite/Build Deploy Release.bat 2008-12-01 20:45:21 UTC (rev 2386) +++ trunk/plugins/IR Server Suite/Build Deploy Release.bat 2008-12-02 11:12:25 UTC (rev 2387) @@ -1,11 +1,16 @@ @ECHO OFF +REM Select program path based on current machine environment + +set progpath=%ProgramFiles% +if not "%ProgramFiles(x86)%".=="". set progpath=%ProgramFiles(x86)% + echo. echo -= IR Server Suite : Build Deploy Release.bat =- echo. echo Building IR Server Suite... -"%ProgramFiles%\Microsoft Visual Studio 8\Common7\IDE\devenv.com" /rebuild Release "IR Server Suite.sln" > build_release.log +"%progpath%\Microsoft Visual Studio 8\Common7\IDE\devenv.com" /rebuild Release "IR Server Suite.sln" > build_release.log echo. echo Building Help file... @@ -13,4 +18,4 @@ echo. echo Building Installer... -"%ProgramFiles%\NSIS\makensis.exe" setup\setup.nsi >> build_release.log \ No newline at end of file +"%progpath%\NSIS\makensis.exe" setup\setup.nsi >> build_release.log \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |