- Timestamp:
- Jul 15, 2018, 11:31:36 PM (6 years ago)
- Location:
- trunk/Install/win
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Install/win/build.bat
r138 r225 1 %LAZDIR%/lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Windows 32-bit" ../../xtactics.lpr 2 %LAZDIR%/lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Windows 64-bit" ../../xtactics.lpr 1 @echo off 3 2 4 "C:\Program Files (x86)\Inno Setup 5\iscc.exe" xTactics.iss 3 if not defined LAZDIR ( 4 set LAZDIR=C:\lazarus 5 ) 6 SET PROJECTNAME=xTactics 7 8 SET MAIN_EXE=..\..\%PROJECTNAME%.exe 9 SET WIN32_EXE=..\..\lib\i386-win32-Release\%PROJECTNAME%.exe 10 SET WIN64_EXE=..\..\lib\x86_64-win64-Release\%PROJECTNAME%.exe 11 IF EXIST %MAIN_EXE% del %MAIN_EXE% 12 IF EXIST %WIN32_EXE% del %WIN32_EXE% 13 IF EXIST %WIN64_EXE% del %WIN64_EXE% 14 15 %LAZDIR%\lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Release" --cpu=i386 --operating-system=Win32 ..\..\%PROJECTNAME%.lpi 16 copy %MAIN_EXE% %WIN32_EXE% 17 %LAZDIR%\lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Release" --cpu=x86_64 --operating-system=Win64 ..\..\%PROJECTNAME%.lpi 18 copy %MAIN_EXE% %WIN64_EXE% 19 20 "c:\Program Files (x86)\Inno Setup 5\ISCC.exe" "%PROJECTNAME%.iss" -
trunk/Install/win/xTactics.iss
r160 r225 57 57 58 58 [Files] 59 Source: "{#MyAppSubDir}\lib\x86_64-win64 \{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode60 Source: "{#MyAppSubDir}\lib\i386-win32 \{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode59 Source: "{#MyAppSubDir}\lib\x86_64-win64-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode 60 Source: "{#MyAppSubDir}\lib\i386-win32-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode 61 61 Source: "{#MyAppSubDir}\Languages\*.po"; DestDir: "{app}\Languages"; Flags: ignoreversion 62 62 Source: "{#MyAppSubDir}\Images\Maps\*.*"; DestDir: "{app}\Images\Maps"; Flags: ignoreversion
Note:
See TracChangeset
for help on using the changeset viewer.