Changeset 2643 for trunk/sources/HeuristicLab 3.3/CustomPostBuildTemplate_UpdateLocalInstallation.cmd
- Timestamp:
- 01/19/10 15:01:53 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab 3.3/CustomPostBuildTemplate_UpdateLocalInstallation.cmd
r2492 r2643 1 set target=C:\Program Files\HeuristicLab 3. 31 set target=C:\Program Files\HeuristicLab 3.0 2 2 3 copy "HeuristicLab.exe" "%target%" 4 copy "HeuristicLab 3.3.exe" "%target%" 5 copy "HeuristicLab 3.3.exe.config" "%target%" 6 copy "HeuristicLab.PluginInfrastructure.dll" "%target%" 7 copy "HeuristicLab.PluginInfrastructure.GUI.dll" "%target%" 8 copy "ICSharpCode.SharpZipLib.dll" "%target%" 9 copy "ICSharpCode.SharpZipLib License.txt" "%target%" 10 rmdir /s /q "%target%\plugins" 11 xcopy "plugins" "%target%\plugins" /e /i 3 copy HeuristicLab.exe "%target%" 4 copy HeuristicLab.Console.exe "%target%" 5 copy HeuristicLab.exe.config "%target%" 6 copy HeuristicLab.PluginInfrastructure.dll "%target%" 7 8 FOR /F "skip=1 tokens=1-2 delims=: usebackq" %%G IN ("%ProjectDir%\Files.txt") DO copy "%SolutionDir%\%%G\%Outdir%\%%H" "%target%" >nul 9 10 11 echo "Platform: %Platform%, architecture: %PROCESSOR_ARCHITECTURE%" 12 if "%Platform%" == "x86" ( 13 FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x86.txt") DO copy "%SolutionDir%\%%G" "%target%" >nul 14 ) else if "%Platform%" == "x64" ( 15 FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x64.txt") DO copy "%SolutionDir%\%%G" "%target%" >nul 16 ) else if "%Platform%" == "AnyCPU" ( 17 if "%PROCESSOR_ARCHITECTURE%" == "x64" ( 18 FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x64.txt") DO copy "%SolutionDir%\%%G" "%target%" >nul 19 ) else if "%PROCESSOR_ARCHITECTURE%" == "x86" ( 20 FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x86.txt") DO copy "%SolutionDir%\%%G" "%target%" >nul 21 ) else ( 22 echo "ERROR: unknown architecture: "%PROCESSOR_ARCHITECTURE%" 23 ) 24 ) else ( 25 echo "ERROR: unknown platform: %Platform%" 26 ) 27 28 echo "CustomPostBuild done"
Note: See TracChangeset
for help on using the changeset viewer.