Changeset 52 for trunk/Install


Ignore:
Timestamp:
Feb 3, 2018, 8:51:28 PM (7 years ago)
Author:
chronos
Message:
  • Modified: Use Build mode in lib subdirectory.
  • Added: 1.0.1 Windows installer.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        44heaptrclog.trc
        55BigMetro.exe
         6*.dbg
  • trunk/Install/win

    • Property svn:ignore set to
      *.exe
  • trunk/Install/win/BigMetro.iss

    r47 r52  
    44#define MyAppName "BigMetro"
    55#define MyAppNameShort "BigMetro"
    6 #define MyAppVersion "1.0.0"
     6#define MyAppVersion "1.0.1"
    77#define MyAppPublisher "Chronosoft"
    88#define MyAppPublisherShort "Chronosoft"
     
    5353
    5454[Files]
    55 Source: "{#MyAppSubDir}\lib\x86_64-win64\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode
    56 Source: "{#MyAppSubDir}\lib\i386-win32\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode
     55Source: "{#MyAppSubDir}\lib\x86_64-win64-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode
     56Source: "{#MyAppSubDir}\lib\i386-win32-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode
    5757;Source: "{#MyAppSubDir}\Languages\*.po"; DestDir: "{app}\Languages"; Flags: ignoreversion
    5858
  • trunk/Install/win/build.bat

    r44 r52  
     1@echo off
     2
    13if not defined LAZDIR (
    24  set LAZDIR=C:\lazarus
    35)
    4 %LAZDIR%\lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Windows 32-bit" ..\..\BigMetro.lpi
    5 %LAZDIR%\lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Windows 64-bit" ..\..\BigMetro.lpi
     6SET PROJECTNAME=BigMetro
    67
    7 "c:\Program Files (x86)\Inno Setup 5\ISCC.exe" "BigMetro.iss"
     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.