I'm using Inno Setup.
Can someone please tell me how to terminate the setup, if the Windows version is 32-bit?
Or to be more specific, when the setup starts, the code checks if the Windows Version is 32-bit and displays a warning then cancels the setup.
What’s the command to terminate the setup completely?
I'm using the following procedure
procedure CheckWindows;
begin
if not IsWin64 then
begin
MsgBox('Error:The Windows version is 32bit',mbError,MB_OK);
WizardForm.Close;
end;
end;
It does give the warning message but then it allows the user to continue if they want.
How do I completely terminate the installation?