installation - 如何从 .msi 设置中删除 .net 框架启动条件?

标签 installation windows-installer setup-deployment

我正在使用 Visual Studio 2010 为我的项目创建 Windows 安装程序(.MSI 包)。我想删除 .net 框架的启动条件,因为我正在我的自定义操作事件中手动执行相同的检查。对于我的项目,“.net framework”启动条件的“Delete”选项显示为禁用。所以,我无法删除它。

我尝试了以下解决方案:

1) 我已经安装了 orca3.1。我已经在 ORCA 中打开了我的 .msi 并搜索了“VSDCA​​_VsdLaunchConditions”这个词。我已经删除了相同的所有引用并保存了该项目的 .msi 文件。当我尝试在客户端机器上安装它时,在安装过程中出现以下错误:

Error 1001. Error 1001. InstallUtilLib.dll: Unknown error The description for Event ID 11001 from source MsiInstaller cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.



如果事件起源于另一台计算机,则显示信息必须与事件一起保存。
事件中包含以下信息:

Product: SoundBite -- Error 1001. Error 1001. InstallUtilLib.dll: Unknown error. (NULL) (NULL) (NULL) (NULL)



2) 我已经打开了“.vdproj”文件并尝试删除对 .net 框架的启动条件和引导条件的引用。当我尝试build设置时,它会自动添加。
谁能帮我解决这个问题?

最佳答案

我设法通过 Orca 删除了 _VsdLaunchCondition 中的唯一行来删除启动条件。 table 。

关于installation - 如何从 .msi 设置中删除 .net 框架启动条件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5631922/

相关文章:

c# - 使用 C# 安装项目分发图像

validation - 有持续部署框架吗?

windows - vb.net 尝试安装 Windows 服务时出错

wix - 我可以将自动生成的 GUIDS 与合并模块一起使用吗?

c# - .Net 中的自定义安装程序显示安装程序后面的表单

deployment - 如何从不同服务器上的 MSI 部署一组 SSIS 包

delphi - Delphi win32 应用程序的自安装程序

php - Moodle 安装字符集

installation - R-INLA 在 R 4.1.1 上安装失败

c# - 如何制作具有多个项目和不同输出的安装程序包?