小编Raj*_*ran的帖子

无法在Window10中使用命令行安装网站msi

概述:使用C#命令行安装MVC3网站。该应用程序已正确安装在Win7,Win8,Server 2008和2013中。正确配置IIS后,同一安装程序无法在window10中运行。

错误消息:产品:Web客户端-此设置需要Internet Information Server 5.1或更高版本以及Windows XP或更高版本。无法在Windows 2000上安装此安装程序。请安装Internet Information Server或更新的操作系统,然后再次运行此安装程序。

事件日志中的错误消息(MsiInstaller):Windows Installer安装了该产品。产品名称:Web客户端。产品版本:3.x.xx。产品语言:1033。制造商:xxxx。安装成功或错误状态:1603。

安装程式码

 Process p = new Process();
            p.StartInfo.FileName = msiexec.exe;
            p.StartInfo.Arguments ="/qn /i \"" + Settings.InstallationDirectory + "Website\\WebClient.msi\"";
            p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
            p.Start();
            p.WaitForExit();
Run Code Online (Sandbox Code Playgroud)

无法在IIS中看到已安装的网站。

iis asp.net-mvc window c#-4.0 asp.net-mvc-3

1
推荐指数
1
解决办法
6684
查看次数

标签 统计

asp.net-mvc ×1

asp.net-mvc-3 ×1

c#-4.0 ×1

iis ×1

window ×1