阅读:3641回复:3
我想在setup开始时隐式的调用一个exe程序 怎样写啊?
网上查找都是怎么调用dll 没有找到
|
|
沙发#
发布于:2007-01-04 15:18
exec 啦,最小化窗口就是
|
|
|
板凳#
发布于:2007-01-29 13:54
用ShellExec来调用
function ShellExec(const Verb, Filename, Params, WorkingDir: String; const ShowCmd: Integer; const Wait: TExecWait; var ErrorCode: Integer): Boolean; Example: [code] function InitializeSetup(): Boolean; var ErrorCode: Integer; begin if not ShellExec('open', ExpandConstant('{sys}\calc.exe'), '', '', SW_HIDE, ewNoWait, ErrorCode) then begin // handle failure if necessary end; end; |
|
|
地板#
发布于:2009-01-04 16:47
把style设置为hidden
|
|
|