From 56828462f14454d74068c7b9774fabeddfb34180 Mon Sep 17 00:00:00 2001 From: Jordan Russell Date: Sun, 15 Dec 2024 01:53:59 -0600 Subject: [PATCH] Finish updating compiler, Struct. --- Projects/Src/Compiler.SetupCompiler.pas | 12 +++--------- Projects/Src/Shared.Struct.pas | 6 ++---- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/Projects/Src/Compiler.SetupCompiler.pas b/Projects/Src/Compiler.SetupCompiler.pas index 1f67e1e43..fded69d51 100644 --- a/Projects/Src/Compiler.SetupCompiler.pas +++ b/Projects/Src/Compiler.SetupCompiler.pas @@ -123,7 +123,7 @@ TSetupCompiler = class SetupHeader: TSetupHeader; SetupDirectiveLines: array[TSetupSectionDirective] of Integer; - UseSetupLdr, DiskSpanning, BackSolid, TerminalServicesAware, DEPCompatible, ASLRCompatible: Boolean; + UseSetupLdr, DiskSpanning, TerminalServicesAware, DEPCompatible, ASLRCompatible: Boolean; DiskSliceSize, DiskClusterSize, SlicesPerDisk, ReserveBytes: Longint; LicenseFile, InfoBeforeFile, InfoAfterFile, WizardImageFile: String; WizardSmallImageFile: String; @@ -1653,8 +1653,8 @@ function TSetupCompiler.CheckConst(const S: String; const MinVersion: TSetupVers const UserConsts: array[0..0] of String = ( 'username'); - Consts: array[0..42] of String = ( - 'src', 'srcexe', 'tmp', 'app', 'win', 'sys', 'sd', 'groupname', 'commonfonts', 'hwnd', + Consts: array[0..41] of String = ( + 'src', 'srcexe', 'tmp', 'app', 'win', 'sys', 'sd', 'groupname', 'commonfonts', 'commonpf', 'commonpf32', 'commonpf64', 'commoncf', 'commoncf32', 'commoncf64', 'autopf', 'autopf32', 'autopf64', 'autocf', 'autocf32', 'autocf64', 'computername', 'dao', 'cmd', 'wizardhwnd', 'sysuserinfoname', 'sysuserinfoorg', @@ -7360,7 +7360,6 @@ procedure TSetupCompiler.Compile; SetupHeader.MinVersion.NTVersion := $06010000; SetupHeader.MinVersion.NTServicePack := $100; SetupHeader.Options := [shDisableStartupPrompt, shCreateAppDir, - shWindowStartMaximized, shWindowShowCaption, shWindowResizable, shUsePreviousAppDir, shUsePreviousGroup, shUsePreviousSetupType, shAlwaysShowComponentsList, shFlatComponentsList, shShowComponentSizes, shUsePreviousTasks, shUpdateUninstallLogAppName, @@ -7373,15 +7372,12 @@ procedure TSetupCompiler.Compile; SetupHeader.UninstallFilesDir := '{app}'; SetupHeader.DefaultUserInfoName := '{sysuserinfoname}'; SetupHeader.DefaultUserInfoOrg := '{sysuserinfoorg}'; - SetupHeader.BackColor := clBlue; - SetupHeader.BackColor2 := clBlack; SetupHeader.DisableDirPage := dpAuto; SetupHeader.DisableProgramGroupPage := dpAuto; SetupHeader.CreateUninstallRegKey := 'yes'; SetupHeader.Uninstallable := 'yes'; SetupHeader.ChangesEnvironment := 'no'; SetupHeader.ChangesAssociations := 'no'; - BackSolid := False; DefaultDialogFontName := 'Tahoma'; SignToolRetryCount := 2; SignToolRetryDelay := 500; @@ -7480,8 +7476,6 @@ procedure TSetupCompiler.Compile; CheckConst(SetupHeader.DefaultUserInfoOrg, SetupHeader.MinVersion, []); LineNumber := SetupDirectiveLines[ssDefaultUserInfoSerial]; CheckConst(SetupHeader.DefaultUserInfoSerial, SetupHeader.MinVersion, []); - if BackSolid then - SetupHeader.BackColor2 := SetupHeader.BackColor; if not DiskSpanning then begin DiskSliceSize := MaxDiskSliceSize; DiskClusterSize := 1; diff --git a/Projects/Src/Shared.Struct.pas b/Projects/Src/Shared.Struct.pas index d10232f24..4583daa41 100644 --- a/Projects/Src/Shared.Struct.pas +++ b/Projects/Src/Shared.Struct.pas @@ -33,7 +33,7 @@ interface this file it's recommended you change SetupID. Any change will do (like changing the letters or numbers), as long as your format is unrecognizable by the standard Inno Setup. } - SetupID: TSetupID = 'Inno Setup Setup Data (6.4.0)'; + SetupID: TSetupID = 'Inno Setup Setup Data (6.4.0.1)'; UninstallLogID: array[Boolean] of TUninstallLogID = ('Inno Setup Uninstall Log (b)', 'Inno Setup Uninstall Log (b) 64-bit'); MessagesHdrID: TMessagesHdrID = 'Inno Setup Messages (6.4.0) (u)'; @@ -51,8 +51,7 @@ interface end; TSetupHeaderOption = (shDisableStartupPrompt, shCreateAppDir, shAllowNoIcons, shAlwaysRestart, shAlwaysUsePersonalGroup, - shWindowVisible, shWindowShowCaption, shWindowResizable, - shWindowStartMaximized, shEnableDirDoesntExistWarning, + shEnableDirDoesntExistWarning, shPassword, shAllowRootDirectory, shDisableFinishedPage, shUsePreviousAppDir, shBackColorHorizontal, shUsePreviousGroup, shUpdateUninstallLogAppName, shUsePreviousSetupType, shDisableReadyMemo, shAlwaysShowComponentsList, @@ -106,7 +105,6 @@ TSetupEncryptionNonce = record NumRegistryEntries, NumInstallDeleteEntries, NumUninstallDeleteEntries, NumRunEntries, NumUninstallRunEntries: Integer; MinVersion, OnlyBelowVersion: TSetupVersionData; - BackColor, BackColor2: Longint; WizardStyle: TSetupWizardStyle; WizardSizePercentX, WizardSizePercentY: Integer; WizardImageAlphaFormat: (afIgnored, afDefined, afPremultiplied); // Must be same as Graphics.TAlphaFormat