Changeset 94 for trunk/Install/win


Ignore:
Timestamp:
Jul 20, 2018, 10:29:49 AM (6 years ago)
Author:
chronos
Message:
  • Fixed: Windows installer build script.
Location:
trunk/Install/win
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Install/win/LazFuck.iss

    r76 r94  
    5959
    6060[Files]
    61 Source: "{#MyAppSubDir}\lib\x86_64-win64\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode
    62 Source: "{#MyAppSubDir}\lib\i386-win32\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode
     61Source: "{#MyAppSubDir}\lib\x86_64-win64-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode
     62Source: "{#MyAppSubDir}\lib\i386-win32-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode
    6363Source: "{#MyAppSubDir}\Examples\*"; DestDir: "{app}\Examples"; Flags: ignoreversion
    6464;Source: "{#MyAppSubDir}\Release notes.txt"; DestDir: "{app}"; Flags: ignoreversion
  • trunk/Install/win/build.bat

    r89 r94  
    1 %LAZDIR%\lazbuild --lazarusdir=%LAZDIR% --build-mode="Windows 32-bit" ..\..\LazFuck.lpi
    2 %LAZDIR%\lazbuild --lazarusdir=%LAZDIR% --build-mode="Windows 64-bit" ..\..\LazFuck.lpi
     1@echo off
    32
    4 "c:\Program Files (x86)\Inno Setup 5\ISCC.exe" "LazFuck.iss"
     3if not defined LAZDIR (
     4  set LAZDIR=C:\lazarus
     5)
     6SET PROJECTNAME=LazFuck
     7
     8SET MAIN_EXE=..\..\%PROJECTNAME%.exe
     9SET WIN32_EXE=..\..\lib\i386-win32-Release\%PROJECTNAME%.exe
     10SET WIN64_EXE=..\..\lib\x86_64-win64-Release\%PROJECTNAME%.exe
     11IF EXIST %MAIN_EXE% del %MAIN_EXE%
     12IF EXIST %WIN32_EXE% del %WIN32_EXE%
     13IF EXIST %WIN64_EXE% del %WIN64_EXE%
     14
     15%LAZDIR%\lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Release" --cpu=i386 --operating-system=Win32 ..\..\%PROJECTNAME%.lpi
     16copy %MAIN_EXE% %WIN32_EXE%
     17%LAZDIR%\lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Release" --cpu=x86_64 --operating-system=Win64 ..\..\%PROJECTNAME%.lpi
     18copy %MAIN_EXE% %WIN64_EXE%
     19
     20"c:\Program Files (x86)\Inno Setup 5\ISCC.exe" "%PROJECTNAME%.iss"
Note: See TracChangeset for help on using the changeset viewer.