Changeset 43 for trunk/Install


Ignore:
Timestamp:
May 11, 2020, 8:51:31 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Use InnoSetup 6 with modern style.
  • Modified: Updated build.bat script.
Location:
trunk/Install/win
Files:
2 edited

Legend:

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

    r38 r43  
    2424AppSupportURL={#MyAppURL}
    2525AppUpdatesURL={#MyAppURL}
    26 DefaultDirName={pf}\{#MyAppPublisherShort}\{#MyAppName}
     26UninstallDisplayName={#MyAppName}
     27UninstallDisplayIcon="{app}\{#MyAppExeName}"
     28VersionInfoVersion={#MyAppVersion}
     29VersionInfoCompany={#MyAppPublisher}
     30DefaultDirName={commonpf}\{#MyAppPublisherShort}\{#MyAppName}
    2731DefaultGroupName={#MyAppPublisherShort}\{#MyAppName}
    2832AllowNoIcons=yes
     
    3236SolidCompression=yes
    3337ChangesAssociations=yes
     38WizardStyle=modern
    3439; "ArchitecturesInstallIn64BitMode=x64" requests that the install be
    3540; done in "64-bit mode" on x64, meaning it should use the native
     
    5055
    5156[Registry]
    52 Root: HKCU; Subkey: "Software\Chronosoft\CoolDisk"; Flags: uninsdeletekey
     57Root: HKLM; Subkey: "Software\Chronosoft\CoolDisk"; Flags: uninsdeletekey
    5358
    5459#define FileTypeName "CoolDisk project"
     
    5964
    6065[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
     66Source: "{#MyAppSubDir}\lib\x86_64-win64-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode
     67Source: "{#MyAppSubDir}\lib\i386-win32-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode
    6368;Source: "{#MyAppSubDir}\Release notes.txt"; DestDir: "{app}"; Flags: ignoreversion
    6469Source: "{#MyAppSubDir}\Languages\*.po"; DestDir: "{app}\Languages"; Flags: ignoreversion
  • trunk/Install/win/build.bat

    r35 r43  
    1 set LAZARUSDIR=C:\lazarus
     1@echo off
    22
    3 %LAZARUSDIR%\lazbuild ..\CoolDisk.lpi --build-mode="Windows 32-bit" --lazarusdir=%LAZARUSDIR%
    4 %LAZARUSDIR%\lazbuild ..\CoolDisk.lpi --build-mode="Windows 64-bit" --lazarusdir=%LAZARUSDIR%
     3if not defined LAZDIR (
     4  set LAZDIR=C:\lazarus
     5)
     6SET PROJECTNAME=CoolDisk
    57
    6 "c:\Program Files (x86)\Inno Setup 5\ISCC.exe" "CoolDisk.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
     21"c:\Program Files (x86)\Inno Setup 6\ISCC.exe" "%PROJECTNAME%.iss"
Note: See TracChangeset for help on using the changeset viewer.