I am trying to disable welcome page dynamically : here are different option i tried
[SETUP]
DisableWelcomePage={code:ShouldSkipAutorun}
...
[CODE]
function ShouldSkipAutorun(Default: string):boolean;
begin
...
// will return true or false on whether to disable it or not
end;
error: "Value of [Setup] section directive "DisableWelcomePage" is invalid"
next I tried using shouldskippage but documentation says
This event function isn't called for the wpWelcome, wpPreparing, and wpInstalling pages, nor for pages that Setup has already determined should be skipped (for example, wpSelectComponents in an install containing no components
any help?