简体   繁体   English

我的自定义 MSI 不会安装在 Windows 7 或 Windows Server 2008 R2 上

[英]My custom MSI will not install on Windows 7 or Windows Server 2008 R2

I have several deployment projects with some of them being web deployment projects.我有几个部署项目,其中一些是 web 部署项目。 My MSIs have successfully installed on both Vista and Windows Server 2008. They will not install on Windows 7 or Server 2008 R2 unless I run it from a console window that I right clicked to "Run as administrator" Unless I do this, none of my installers will successfully install.我的 MSI 已成功安装在 Vista 和 Windows Server 2008 上。除非我从控制台 Z05B8C74CBD96FBF2DE4C1A352702FBF4 运行它,否则它们不会安装在 Windows 7 或 Server 2008 R2 上。安装程序将成功安装。

I cannot force my customers to have to open up a console window as I have to install the software.我不能强迫我的客户必须打开控制台 window,因为我必须安装软件。 As a workaround for now, our customers are doing this but I will need to fix this in future releases.作为目前的解决方法,我们的客户正在这样做,但我需要在以后的版本中解决这个问题。

I even tried creating a Launch Condition and setting the condition to AdminUser but that didn't work.我什至尝试创建一个启动条件并将条件设置为 AdminUser 但这不起作用。

Thanks for any help.谢谢你的帮助。

This error is related to User Access Control (UAC) default settings.此错误与用户访问控制 (UAC) 默认设置有关。 For detailed steps of the workaround read this post: http://rambletech.wordpress.com/2011/09/15/windows-server-2008-you-do-not-have-sufficient-privileges-to-complete-this-installation-for-all-users-of-the-machine/有关解决方法的详细步骤,请阅读这篇文章: http://rambletech.wordpress.com/2011/09/15/windows-server-2008-you-do-not-have-sufficient-privileges-to-complete-this-为机器的所有用户安装/

HTH,高温下,

Ozzie.奥齐。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM