This allows different checks or performing new actions if required with any version.
A splash screen is optional pbwin10\samples\sdk\hellowin
This should have an option to terminate the install.
Change (Code) to bracket Code bracket
Code:
[Files] Source: splash.exe; DestDir: {app}; Flags: ignoreversion overwritereadonly; AfterInstall:PowerBasicPreInstall (Code) procedure PowerBasicPreInstall(); var ErrorCode: INTEGER; begin //ShellExec('', ExpandConstant('{app}\splash.exe'),'', '', SW_SHOW, ewNoWait, ErrorCode); ShellExec('', ExpandConstant('{app}\splash.exe'),'', '', SW_SHOW, ewWaitUntilTerminated, ErrorCode); //MsgBox('This is not needed', mbInformation, MB_OK); end;
Leave a comment: