Master-x64.ina May 2026
// --------------------------------------------------------------------- // Prerequisite check before installation begins // --------------------------------------------------------------------- function InitializeSetup: Boolean; begin Result := True;
; --- 64-bit specific settings --- ArchitecturesInstallIn64BitMode=x64compatible ArchitecturesAllowed=x64compatible PrivilegesRequired=admin PrivilegesRequiredOverridesAllowed=dialog SetupLogging=yes UninstallLogMode=append master-x64.ina
[UninstallDelete] Type: filesandordirs; Name: "{app}\logs" begin Result := True
[Code] // --------------------------------------------------------------------- // Custom function to check Windows version (64-bit check already handled) // --------------------------------------------------------------------- function IsWin10: Boolean; begin Result := (GetWindowsVersion >= $0A000002); // Windows 10 build 10240+ end; begin Result := (GetWindowsVersion >
[Run] Filename: "{app}\MyApp.exe"; Description: "{cm:LaunchProgram,My Application}"; Flags: nowait postinstall skipifsilent
// --------------------------------------------------------------------- // Check for .NET Framework 4.8 (example) // --------------------------------------------------------------------- function IsDotNet48Installed: Boolean; var Release: Cardinal; begin Result := False; if RegQueryDWordValue(HKLM, 'SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full', 'Release', Release) then begin Result := (Release >= 528040); // .NET 4.8 = 528040 end; end;