本文介绍了在Windows Installer上安装Windows窗体应用程序。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我正在尝试在Windows Server 2003操作系统上安装我在vb.net中创建的Windows窗体应用程序。我不断收到此错误消息在安装应用程序之前安装程序已中断。您需要重新启动安装程序才能再次尝试。单击关闭退出。任何想法为什么?我将.Net Framework更改为4.0。谢谢。I am trying to install a windows forms application i created in vb.net on a windows server 2003 os. I keep getting this error message "The installer was interrupted before Application could be installed. You need to restart the installer to try again.Click "Close" to exit." Any ideas as to why? I changed the .Net Framework to 4.0. Thanks.推荐答案Machine policy value 'DisableMsi' is 1 根据文档 [ ^ ],表示:Windows Installer已禁用对于非托管应用程序,但仍为托管应用程序启用。未提升的每用户安装被阻止。允许每用户提升和每机器安装。 在这种情况下,托管表示由Active Directory部署。 /> 在安装非托管应用程序之前,您需要更改该策略。According to the documentation[^], that means: "Windows Installer is disabled for unmanaged applications but is still enabled for managed applications. Non-elevated per-user installations are blocked. Per-user elevated and per-machine installs are allowed."In this case, "managed" means "deployed by Active Directory".You'll need to get that policy changed before you can install a non-managed application. 这篇关于在Windows Installer上安装Windows窗体应用程序。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!