简体   繁体   English

如何调用高级安装程序中附加的.exe文件的先决条件C#自定义操作

[英]how to Invoke .exe file attached inside Advanced installer Prerequisite C# custom action

I want install c++ redistributables as a prerequisite to my MSI package, using advanced installer custom action. 我想使用高级安装程序自定义操作将C ++可再发行文件安装为MSI软件包的先决条件。

I have custom action ready but how could i access prerequisite file inside custom action ? 我已经准备好自定义操作,但是如何访问自定义操作中的必备文件?

What path i need to give to locate that c++ redistributable. 我需要提供什么路径来定位该c ++可再发行组件。

I did search in advanced installer forum but could not find anything. 我没有在高级安装程序论坛中搜索,但找不到任何东西。 I am new to advanced installer. 我是高级安装程序的新手。

  • From the Requirements section in the nav tree on the left, select Prerequisites 在左侧导航树的“ Requirements部分中,选择“ Prerequisites 需求部分
  • From the column to the right of the nav tree, select Packages 在导航树右侧的列中,选择“ Packages 选择套餐
  • Scroll down to the Visual Studio section in the Predefined Prerequisites list box on the right side of the screen and select the redistributable you wish to include in your installer 向下滚动到屏幕右侧“ Predefined Prerequisites列表框中的“ Visual Studio部分,然后选择要包括在安装程序中的可再发行组件 选择可再分发以包括

Note the search box marked Filter prerequisites at the top right for convenience. 为方便起见,请注意右上角标记为Filter prerequisites的搜索框。

After that you'll be prompted to download and include it in the MSI and there are additional configuration options. 之后,系统将提示您下载并将其包含在MSI中,并提供其他配置选项。

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

相关问题 如何确定在C#DotNet中创建安装程序exe的前提条件? - How to Determine prerequisite creating setup exe in C# DotNet? 通过高级安装程序中的自定义操作将文件放入APPDIR - Place a file in APPDIR from a Custom Action in Advanced Installer 如何在 Visual Studio 2010 中为 c# 安装程序编写自定义操作? - how to write custom action for a c# installer in visual studio 2010? 如何在Advanced Installer中加密连接字符串(13.3)自定义操作 - How to encrypt your Connection String in Advanced Installer (13.3) Custom Action 在C#自定义操作中更改安装程序属性 - change installer properties in C# custom action Wix-如何在安装程序中启动另一个MSI(或EXE)? (C#) - Wix - How do I launch another MSI (or EXE) inside my installer? (C#) 如何在自定义操作中获取路径文件安装程序 - How to get path file installer on custom action C#-Windows Service安装程序无法执行自定义操作 - C# - Windows Service installer fails in custom action C#安装程序自定义操作-图形与Windows 7不兼容 - C# Installer Custom Action - Graphics not Compatible with Windows 7 如何在C#中运行exe文件中触发或运行方法 - How to trigger or Run a method inside running exe file in C#
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM