1
我有一个安装程序需要在安装任何其他程序之前安装一些visual C++可再发行组件。这是因为一个ActiveX COM对象不会先注册它。INNO设置[CODE]块,设置状态?
我有代码,正确安装Visual c + +,但该程序似乎挂起一分钟(对用户),而它正在安装,因为他们不知道发生了什么事情。有什么方法可以告诉用户我在做什么而不弹出实际的消息框?就像你可以在[Run]块中设置状态一样。
// This function will be called after the last "Next" button is pressed, but before any files get installed
procedure DoPreInstall();
var
ErrorCode: Integer;
begin
Exec(ExpandConstant('vcredist_x86_2008.exe'), '/q', '', SW_SHOW, ewWaitUntilTerminated, ErrorCode)
end;
end;
我能够包含这个iss文件,并直接调用它。工作很棒。谢谢。 – user380527 2010-12-15 20:56:02