Iis

Web Deploy 3.0 安裝失敗

  • November 13, 2012

我在將 Microsoft Web Deploy 3.0 安裝到 Windows Server 2008 R2 機器時遇到了困難。我嘗試使用 Web 平台安裝程序和 MSI 包進行安裝,但在嘗試執行 MSI 自定義操作ExecuteRegisterUIModuleCA時安裝失敗。

此伺服器是 VM 和場的成員,但在我安裝時共享配置被禁用。

這是它在 MSI 日誌中失敗的地方(從第 1875 行開始):

MSI (s) (80:FC) [15:29:01:358]: Executing op: ActionStart(Name=IISBeginTransactionCA,,)
MSI (s) (80:FC) [15:29:01:374]: Executing op: CustomActionSchedule(Action=IISBeginTransactionCA,ActionType=3073,Source=BinaryData,Target=IISBeginTransactionCA,)
MSI (s) (80:A8) [15:29:01:374]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI6C6A.tmp, Entrypoint: IISBeginTransactionCA
MSI (s) (80:FC) [15:29:01:436]: Executing op: ActionStart(Name=IISRollbackTransactionCA,,)
MSI (s) (80:FC) [15:29:01:436]: Executing op: CustomActionSchedule(Action=IISRollbackTransactionCA,ActionType=3329,Source=BinaryData,Target=IISRollbackTransactionCA,)
MSI (s) (80:FC) [15:29:01:436]: Executing op: ActionStart(Name=IISCommitTransactionCA,,)
MSI (s) (80:FC) [15:29:01:436]: Executing op: CustomActionSchedule(Action=IISCommitTransactionCA,ActionType=3585,Source=BinaryData,Target=IISCommitTransactionCA,)
MSI (s) (80:FC) [15:29:01:436]: Executing op: ActionStart(Name=IISExecuteCA,,)
MSI (s) (80:FC) [15:29:01:452]: Executing op: CustomActionSchedule(Action=IISExecuteCA,ActionType=3073,Source=BinaryData,Target=IISExecuteCA,CustomActionData=1^3^21^WebDeployment_Current^154^Microsoft.Web.Deployment.UI.PackagingModuleProvider, Microsoft.Web.Deployment.UI.Server, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35^1^1^0^^1^3^28^DelegationManagement_Current^171^Microsoft.Web.Management.Delegation.DelegationModuleProvider, Microsoft.Web.Management.Delegation.Server, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35^1^1^0^^1^7^38^system.webServer/management/delegation^4^Deny^16^MachineToWebRoot^0^^3^yes^1^7^31^system.webServer/wdeploy/backup^4^Deny^20^MachineToApplication^0^^2^no^)
MSI (s) (80:84) [15:29:01:452]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI6CB9.tmp, Entrypoint: IISExecuteCA
1: IISCA IISExecuteCA : Begin CA Setup 
1: IISCA IISExecuteCA : CA 'ExecuteRegisterUIModuleCA' completed with return code hr=0x8007000d 
1: IISCA IISExecuteCA : CA 'IISExecuteCA' completed with return code hr=0x8007000d 
1: IISCA IISExecuteCA : End CA Setup 
CustomAction IISExecuteCA returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 15:29:05: InstallFinalize. Return value 3.

我似乎找不到有關此特定問題的任何資訊;有人可以幫我指出正確的方向嗎?

經過幾個小時的探勘,我終於找到了解決方案。

在 Administration.config 的 location\modules 部分中有兩個重複的條目:Rewrite & PlatformInstaller。刪除這些重複項允許安裝成功完成。

引用自:https://serverfault.com/questions/446771