简体   繁体   English

如何在 InnoSetup 中运行 exe?

[英]How run exe in InnoSetup?

does not run the command file.不运行命令文件。

ShellExec ('', ExpandConstant ('{src}\dotNetFx40_Client_x86_x64.exe'),'','', SW_SHOW, ewNoWait, ErrorCode);

it just passes it.它只是通过它。

[Files]
    Source: C:\Users\User\Documents\Visual Studio 2010\Projects\TrainerRoomSetup\TrainerRoomSetup\Debug\DotNetFX40Client\dotNetFx40_Client_x86_x64.exe; DestDir: {app}; Flags: ignoreversion
ExtractTemporaryFile('dotNetFx40_Client_x86_x64.exe');
ShellExec('', ExpandConstant('{tmp}\dotNetFx40_Client_x86_x64.exe'), '', '', SW_SHOW, ewNoWait, ErrorCode);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM