【发布时间】:2017-11-10 18:55:45
【问题描述】:
我正在使用来自 How do you execute command line tools without using batch file in Inno Setup 响应的代码在安装时(之前、之后)执行我的所有批处理文件。
不,我想在用户单击“是”卸载程序时执行它们,但找不到方法。它在确认之前执行
这是我来自[Code] 部分的代码:
function InitializeUninstall(): Boolean;
var
ResultCode : Integer;
begin
Result := True;
Exec(ExpandConstant('{app}\scripts\unset.bat'), '', '',
SW_HIDE, ewWaitUntilTerminated, ResultCode);
end;
【问题讨论】:
标签: batch-file cmd inno-setup pascalscript