在屏幕上显示我自己的表单后,我需要开始静默安装。
怎么做?
这是我的ISS代码,一个OpenWizardForm
程序是从我自己的DLL中导入的。它将打开模态表单,接受用户数据,关闭模态表单,然后继续执行。
[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;