我需要在屏幕上显示我自己的表单后开始静默安装。InnoSetup:如何从dll显示我自己的表单后启动静默安装?
如何做到这一点?
继承人是我的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;
谢谢!我无法找到让我的设置在执行诸如驱动程序安装或更新等操作之后自动执行的方法......但现在我确实......不知道为什么我没有想到这一点。 – Thomas 2012-04-28 03:34:42
什么是'WizardForm'? – 2013-10-10 08:43:19