设置项目.net 4的先决条件 [英] setup project .net 4 prerequisite

查看:84
本文介绍了设置项目.net 4的先决条件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将.net framework 4作为先决条件添加到我的安装程序包中,当安装此程序包时,错误报告说,安装.net 4需要WIC"Windows映像组件",我也已将其添加为先决条件. />
但是由于已经安装了该组件的较新版本,安装失败.

我想问一下如何检查该WIC是否已安装,并在有较新版本时跳过安装?

感谢

I added .net framework 4 to my setup package as a prerequisite, when installing this package an error reports that installing .net 4 require WIC "windows imaging component" ,which I''ve added as a prerequisite also.

but installation failed due to a newer version of this component already installed.

I want to ask how to check whether this WIC is installed or not and skip installing it when there is a newer version?

thanks

推荐答案

前提条件的安装程序是应该执行的检查,而不是您的安装程序.
The installer for the prerequisite is what should be doing the checking, not your installer.


这篇关于设置项目.net 4的先决条件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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