问题描述
我使用rewrite_amd64_zh-CN.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重写的条目,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平台安装程序。尝试安装该软件时,我遇到了类似的问题-安装时没有错误,但是在IIS中看不到该图标。
请指导我解决此问题。谢谢。
解决方法
您的命令中有小错误。
您可以尝试以下命令:
msiexec.exe /i "rewrite_amd64_en-US.msi" /L*V "C:\package.log"
msiexec /i rewrite_amd64_en-US.msi /l*v C:\msilog.txt /qf