IIS10中未显示URL Rewrite

3
我使用rewrite_amd64_en-US.msi安装了URL Rewrite 2.1。安装过程很顺利,但我无法在IIS中看到URL重写图标。我的系统是Windows Server 2016中的IIS 10。
我正在使用管理员命令提示符下的命令msiexec /a rewrite_amd64_en-US.msi /qf /L*V re.log进行安装。
控制面板中没有URL Rewrite的条目,也没有C:\Windows\System32\inetsrv中的rewrite.dll文件。
安装日志的最后几行为:
MSI (c) (C8:90) [15:38:38:027]: Note: 1: 1707 
MSI (c) (C8:90) [15:38:38:027]: Product: IIS URL Rewrite Module 2 -- Installation completed successfully.

MSI (c) (C8:90) [15:38:38:027]: Windows Installer installed the product. Product Name: IIS URL Rewrite Module 2. Product Version: 7.2.1993. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 0.

MSI (c) (C8:90) [15:38:38:027]: Grabbed execution mutex.
MSI (c) (C8:90) [15:38:38:027]: Cleaning up uninstalled install packages, if any exist
MSI (c) (C8:90) [15:38:38:027]: MainEngineThread is returning 0
=== Verbose logging stopped: 8/20/2020  15:38:38 ===

另一个需要注意的点是我的服务器没有Web Platform Installer。当我尝试安装它时,我遇到了类似的问题——安装过程中没有错误,但在IIS中看不到图标。

请指导我如何解决这个问题。谢谢。

1个回答

3
请确保使用 提升的权限 调用 msiexec.exe 命令。
为此,您需要执行以下操作:
  1. 点击 开始 或按下 Windows 键

  2. 在搜索框中输入 CMD

  3. 右键单击 CMD 并选择 以管理员身份运行。有关更多详细信息,请查看 https://www.computerhope.com/jargon/e/elevated.htmhttps://winaero.com/how-to-open-elevated-command-prompt-in-windows-10/;

  4. 在新的 命令提示符控制台 上,运行 MSI 包安装命令:

    msiexec.exe /i rewrite_amd64_en-US.msi /l*v C:\msilog.txt /qf

    msiexec.exe /i "rewrite_amd64_en-US.msi" /L*V "C:\package.log"


2
谢谢,这有用。因为msi没有管理员选项,所以我作为管理员打开了命令提示符并使用了带有/a开关的msiexec来执行,但它没有起作用。根据你的回答,我从/a改为/i,它顺利地工作了。不确定为什么我在日志中用/a获得了成功安装的消息。 - Karthik

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接