Changeset 43 for trunk/Install/win
- Timestamp:
- May 11, 2020, 8:51:31 PM (5 years ago)
- Location:
- trunk/Install/win
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Install/win/CoolDisk.iss
r38 r43 24 24 AppSupportURL={#MyAppURL} 25 25 AppUpdatesURL={#MyAppURL} 26 DefaultDirName={pf}\{#MyAppPublisherShort}\{#MyAppName} 26 UninstallDisplayName={#MyAppName} 27 UninstallDisplayIcon="{app}\{#MyAppExeName}" 28 VersionInfoVersion={#MyAppVersion} 29 VersionInfoCompany={#MyAppPublisher} 30 DefaultDirName={commonpf}\{#MyAppPublisherShort}\{#MyAppName} 27 31 DefaultGroupName={#MyAppPublisherShort}\{#MyAppName} 28 32 AllowNoIcons=yes … … 32 36 SolidCompression=yes 33 37 ChangesAssociations=yes 38 WizardStyle=modern 34 39 ; "ArchitecturesInstallIn64BitMode=x64" requests that the install be 35 40 ; done in "64-bit mode" on x64, meaning it should use the native … … 50 55 51 56 [Registry] 52 Root: HK CU; Subkey: "Software\Chronosoft\CoolDisk"; Flags: uninsdeletekey57 Root: HKLM; Subkey: "Software\Chronosoft\CoolDisk"; Flags: uninsdeletekey 53 58 54 59 #define FileTypeName "CoolDisk project" … … 59 64 60 65 [Files] 61 Source: "{#MyAppSubDir}\lib\x86_64-win64 \{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode62 Source: "{#MyAppSubDir}\lib\i386-win32 \{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode66 Source: "{#MyAppSubDir}\lib\x86_64-win64-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode 67 Source: "{#MyAppSubDir}\lib\i386-win32-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode 63 68 ;Source: "{#MyAppSubDir}\Release notes.txt"; DestDir: "{app}"; Flags: ignoreversion 64 69 Source: "{#MyAppSubDir}\Languages\*.po"; DestDir: "{app}\Languages"; Flags: ignoreversion -
trunk/Install/win/build.bat
r35 r43 1 set LAZARUSDIR=C:\lazarus 1 @echo off 2 2 3 %LAZARUSDIR%\lazbuild ..\CoolDisk.lpi --build-mode="Windows 32-bit" --lazarusdir=%LAZARUSDIR% 4 %LAZARUSDIR%\lazbuild ..\CoolDisk.lpi --build-mode="Windows 64-bit" --lazarusdir=%LAZARUSDIR% 3 if not defined LAZDIR ( 4 set LAZDIR=C:\lazarus 5 ) 6 SET PROJECTNAME=CoolDisk 5 7 6 "c:\Program Files (x86)\Inno Setup 5\ISCC.exe" "CoolDisk.iss" 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 21 "c:\Program Files (x86)\Inno Setup 6\ISCC.exe" "%PROJECTNAME%.iss"
Note:
See TracChangeset
for help on using the changeset viewer.