Innosetup添加多个exe文件并在主设置中执行 [英] Innosetup adding multiple exe files and executing within the main setup

查看:1003
本文介绍了Innosetup添加多个exe文件并在主设置中执行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何使用innosetup添加其他设置exe并使用我的主exe执行附加exe.

I would like to know how to add additional setup exe and execute the additional exe with my main exe using innosetup.

由于我是innosetup的新手,所以请在过去三天中尝试此操作.

Kindly help me as I am trying this for the last 3 days as I am new in using innosetup.

谢谢.

推荐答案

最简单的方法是在[运行]部分中调用其他EXE.所有EXE文件都应添加到[文件]部分的主设置中.您可以将它们复制到TEMP文件夹以进行安装,也可以将它们复制到您的应用程序文件夹(如果需要).

The simplest way is to call you additional EXE in [Run] section. All EXE files should be added to main setup in [Files] section. You can either just copy them to the TEMP folder for the installation time or copy them to your app folder (if needed).

[Files]
Source: "d:\ADDS\*"; DestDir: "{tmp}"; 
Flags: nocompression createallsubdirs recursesubdirs deleteafterinstall
//contains DirectX in directx folder, VC Redist 2010 x86 and VC Redist 2010 x64 

[Run]
Filename: "{tmp}\directx\DXSETUP.exe"; Parameters: "/silent"; Flags: waituntilterminated skipifdoesntexist; StatusMsg: "Microsoft DirectX installation. Please wait..."
Filename: "{tmp}\vcredist_x86_2010.exe"; Parameters: "/Q"; Flags: waituntilterminated skipifdoesntexist; StatusMsg: "Microsoft Visual C++ 2010 (x86) installation. Please Wait..."
Filename: "{tmp}\vcredist_x64_2010.exe"; Parameters: "/Q"; Flags: waituntilterminated skipifdoesntexist; StatusMsg: "Microsoft Visual C++ 2010 (x64) installation. Please wait..."; Check: IsWin64

这篇关于Innosetup添加多个exe文件并在主设置中执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆