ClickOnce先决条件安装错误 [英] ClickOnce prerequisite installation error

查看:118
本文介绍了ClickOnce先决条件安装错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ClickOnce应用程序,我正在尝试测试安装。

我已将先决条件设置为.NET 4.0。

当我测试它时在使用Windows 7的工作站上并使用控制面板显式删除.NET 4时,ClickOnce安装似乎是安装.NET先决条件,但随后失败并显示错误消息框:

I have a ClickOnce application that I'm trying to test the installation.
I've set the prerequisite to be .NET 4.0.
When I test it on a workstation with Windows 7 and explicitly remove .NET 4 using the Control Panel, the ClickOnce installation appears to be installing the .NET prerequisite, but then fails with the error message box:

Title: System Update Required
Body: Unable to install or run this application. This application requires your system to be updated to Microsoft Common Language Runtime Version 4.0.30319.0. Please contact your system administrator.



如果我退出此失败的安装并立即重试ClickOnce安装,则安装程序不会似乎安装.NET 4, 成功安装我的应用程序。



有什么想法吗?


If I exit this failing installation and immediately retry the ClickOnce install, the installer does not appear to install .NET 4 and does successfully install my application.

Any ideas?

推荐答案

这篇关于ClickOnce先决条件安装错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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