I need to start the silent installation after showing my own form on the screen.
How to do that?
Heres is my ISS code, an OpenWizardForm
procedure is imported from my own DLL. It will open the modal form, accept the user's data, close the modal form and then continue execution.
[Setup]
DisableWelcomePage=yes
DisableDirPage=yes
DisableProgramGroupPage=yes
DisableReadyMemo=yes
DisableReadyPage=yes
DisableStartupPrompt=yes
DisableFinishedPage=yes
[Code]
procedure InitializeWizard();
begin
WizardForm.BorderStyle := bsNone;
WizardForm.Width := 0;
WizardForm.Height := 0;
OpenWizardForm(WizardForm.Handle); // here is my own modal form will appear
// and now the silent installation must be started
end;