WizardSilent
will be true for both /Silent
and /VerySilent
installs. The difference between the two parameters is whether a progress bar is shown (/Silent
) or not (/VerySilent
).
Based on your comment, the best I can suggest would be to check the command line and look for /VerySilent
and set a global variable. Something like:
[Code]
var
isVerySilent: Boolean;
function InitializeSetup(): Boolean;
var
j: Integer;
begin
isVerySilent := False;
for j := 1 to ParamCount do
if CompareText(ParamStr(j), '/verysilent') = 0 then
begin
isVerySilent := True;
Break;
end;
if isVerySilent then
Log ('VerySilent')
else
Log ('not VerySilent');
end;