|
23 | 23 |
|
24 | 24 | ; Usage Notes: |
25 | 25 | ; |
26 | | -; This script has been designed to work with Inno Setup v6.2.1 |
| 26 | +; This script has been designed to work with Inno Setup v6.4.3 |
27 | 27 | ; It is available as a quick start pack from here: |
28 | 28 | ; https://www.jrsoftware.org/isdl.php |
29 | 29 | ; |
|
40 | 40 | ; server. They must be stopped manually. |
41 | 41 | ; |
42 | 42 | ; |
| 43 | +; Debugging this script |
| 44 | +; |
| 45 | +; You need to run BuildExecutableInstall.bat to create the correct environment. |
| 46 | +; If you have built firebird from run_all.bat you need to switch to the install |
| 47 | +; script directory: |
| 48 | +; pushd ..\install\arch-specific\win32 |
| 49 | +; |
| 50 | +; After that you should be able to compile and debug the script from the command |
| 51 | +; line thus: |
| 52 | +; "%INNO6_SETUP_PATH%"\compil32.exe FirebirdInstall.iss |
| 53 | +; |
43 | 54 | ; |
44 | 55 | #define MyAppPublisher "Firebird Project" |
45 | 56 | #define MyAppURL "http://www.firebirdsql.org/" |
@@ -335,8 +346,8 @@ PrivilegesRequired=admin |
335 | 346 | SetupMutex={#MyAppName} |
336 | 347 |
|
337 | 348 | #if PlatformTarget == "x64" |
338 | | -ArchitecturesAllowed=x64 |
339 | | -ArchitecturesInstallIn64BitMode=x64 |
| 349 | +ArchitecturesAllowed=x64os |
| 350 | +ArchitecturesInstallIn64BitMode=x64os |
340 | 351 | #elif PlatformTarget == "arm64" |
341 | 352 | ArchitecturesAllowed=arm64 |
342 | 353 | ArchitecturesInstallIn64BitMode=arm64 |
|
721 | 732 | cmdParams: TStringList; |
722 | 733 | begin |
723 | 734 |
|
| 735 | + // This snippet from the InnoSetup help might be useful for testing. |
| 736 | + if IsArm32Compatible then Log('IsArm32Compatible'); |
| 737 | + if IsArm64 then Log('IsArm64'); |
| 738 | + if IsX64OS then Log('IsX64OS'); |
| 739 | + if IsX64Compatible then Log('IsX64Compatible'); |
| 740 | + if IsX86 then Log('IsX86'); |
| 741 | + if IsX86OS then Log('IsX86OS'); |
| 742 | + if IsX86Compatible then Log('IsX86Compatible'); |
| 743 | + if IsWin64 then Log('IsWin64'); |
| 744 | +
|
724 | 745 | result := true; |
725 | 746 |
|
726 | 747 | CommandLine:=GetCmdTail; |
|
0 commit comments