[wix-users] Issue with installing onto Windows Server 2012 and IIS 8
Steve Ogilvie
sogilvie at msn.com
Tue Aug 25 10:38:24 PDT 2015
Hi all,
I am having one of my customers install on their
pre-production server.
Running WiX version 3.8 RTM
Here is my web site component:
<!--Set up the web site for Administrator Console-->
<Component Id="cmp_IISConfiguration" Guid="{43265975-F111-4A68-BD76-F1585242C04D}" KeyPath="yes">
<iis:WebAppPool Id="AdminConsoleAppPoolId"
Identity="other"
ManagedPipelineMode="[MANAGEDPIPELINEMODE]"
ManagedRuntimeVersion="[DOT_NET_VERSION]"
Name="[WEB_SITE_NAME]"
User="WebAppPoolID_User" />
<iis:WebSite Id="AdminConsoleWebSiteId"
AutoStart="yes"
DirProperties="WebDirProperties"
StartOnInstall="yes"
Directory="DIRECTORY_PATH_SERVER"
Description="[WEB_SITE_NAME]">
<iis:WebAddress Id="AllUnassigned"
Port="[WEB_SITE_PORT]" />
<iis:WebApplication Id="AdminConsoleWebAppId"
Name="TITUSWebApp"
WebAppPool="AdminConsoleAppPoolId">
<iis:WebApplicationExtension CheckPath="no" Extension="mvc" Executable="[FXDIR]aspnet_isapi.dll"/>
<iis:WebApplicationExtension CheckPath="no" Extension="aspx" Executable="[FXDIR]aspnet_isapi.dll"/>
</iis:WebApplication>
</iis:WebSite>
<iis:WebServiceExtension Id="EnableASPNet4Extension"
Allow="yes"
File="[FXDIR]aspnet_isapi.dll"
Group="ASP.NET v4.0.30319"
Description="ASP.NET v4.0.30319"
UIDeletable="no"/>
<iis:WebDir Id="WebDirId" Path="WebDir" DirProperties="WebDirProperties" WebSite="AdminConsoleWebSiteId"/>
<RemoveFolder Id="RemoveParentWebFolder" Directory="DIRECTORY_PATH_SERVER" On="uninstall"/>
</Component>
Where
<Property Id="DOT_NET_VERSION" Secure="yes" Value="v4.0" />
<Property Id="MANAGEDPIPELINEMODE" Secure="yes" Value="Integrated" />
<util:User Id="WebAppPoolID_User" Name="[WEBAPPPOOL_USERNAME]" Password="[WEBAPPPOOL_PASSWORD]" />
<Property Id="FXDIR" Value="0">
<RegistrySearch Id="FxInstallPathRegistry"
Key="SOFTWARE\Microsoft\NET
Framework Setup\NDP\v4\Full"
Name="InstallPath"
Root="HKLM"
Type="raw"/>
</Property>
<iis:WebDirProperties Id="WebDirProperties"
AnonymousAccess="no"
BasicAuthentication="no"
WindowsAuthentication="yes"
AccessSSL="no"
Execute="yes"
Read="yes"
Script="yes" />
The install is choking when it is running the
WriteIIS7ConfigChanges action
They started with this error:
WriteIIS7ConfigChanges:
Error 0x8007000d: Failed get isapiCgiRestriction section
WriteIIS7ConfigChanges:
Error 0x8007000d: Failed to configure IIS web svc ext.
WriteIIS7ConfigChanges:
Error 0x8007000d: WriteIIS7ConfigChanges Failed.
Had them run “aspnet_regiis -ir” Then ran the install again and now they get this error:
Here is the logging info:
Action 13:26:24: StartIIS7ConfigTransaction. Starting IIS
Config Transaction
MSI (s) (8C:3C) [13:26:24:928]: Executing op:
CustomActionSchedule(Action=StartIIS7ConfigTransaction,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (8C:D8) [13:26:24:950]: Invoking remote custom
action. DLL: C:\Windows\Installer\MSI3C0F.tmp, Entrypoint:
StartIIS7ConfigTransaction
StartIIS7ConfigTransaction: Entering StartIIS7ConfigTransaction
in C:\Windows\Installer\MSI3C0F.tmp, version 3.8.2702.0
MSI (s) (8C:3C) [13:26:24:969]: Executing op:
ActionStart(Name=RollbackIIS7ConfigTransaction,Description=Rolling back IIS
Config Transaction,)
Action 13:26:24: RollbackIIS7ConfigTransaction. Rolling back
IIS Config Transaction
MSI (s) (8C:3C) [13:26:24:970]: Executing op:
CustomActionSchedule(Action=RollbackIIS7ConfigTransaction,ActionType=11521,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (8C:3C) [13:26:24:971]: Executing op:
ActionStart(Name=CommitIIS7ConfigTransaction,Description=Committing IIS Config
Transaction,)
Action 13:26:24: CommitIIS7ConfigTransaction. Committing IIS
Config Transaction
MSI (s) (8C:3C) [13:26:24:972]: Executing op:
CustomActionSchedule(Action=CommitIIS7ConfigTransaction,ActionType=11777,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (8C:3C) [13:26:24:973]: Executing op:
ActionStart(Name=ConfigureIIs7Exec,Description=Configuring IIS,)
Action 13:26:24: ConfigureIIs7Exec. Configuring IIS
MSI (s) (8C:3C) [13:26:24:975]: Executing op:
CustomActionSchedule(Action=ConfigureIIs7Exec,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (8C:68) [13:26:24:996]: Invoking remote custom
action. DLL: C:\Windows\Installer\MSI3C3E.tmp, Entrypoint: ConfigureIIs7Exec
ConfigureIIs7Exec: Entering ConfigureIIs7Exec in
C:\Windows\Installer\MSI3C3E.tmp, version 3.8.2702.0
ConfigureIIs7Exec: Skipping ScaMimeMapRead() -
required table not present
ConfigureIIs7Exec: Skipping ScaHttpHeaderRead() -
required tables not present.
ConfigureIIs7Exec: Skipping ScaWebErrorRead() -
required tables not present.
ConfigureIIs7Exec: Entering ScaWebsRead7()
ConfigureIIs7Exec: Exiting ScaWebsRead7()
ConfigureIIs7Exec: Could not find Web:
AdminConsoleWebSiteId, defaulting to TITUS Web Administration
ConfigureIIs7Exec: Skipping ScaVirtualDirsRead()
because IIsWebVirtualDir table not present
ConfigureIIs7Exec: Skipping ScaFiltersRead() - no
IIsFilter table
ConfigureIIs7Exec: Skipping ScaInstallProperty() -
required table not present
ConfigureIIs7Exec: Custom action data hash:
1E2828184D0581F3712CD7C1D632E48C845FE528
MSI (s) (8C:3C) [13:26:25:063]: Executing op:
ActionStart(Name=WriteIIS7ConfigChanges,Description=Installing Config Keys and
Values,)
Action 13:26:25: WriteIIS7ConfigChanges. Installing Config
Keys and Values
MSI (s) (8C:3C) [13:26:25:064]: Executing op:
CustomActionSchedule(Action=WriteIIS7ConfigChanges,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (8C:D8) [13:26:25:085]: Invoking remote custom
action. DLL: C:\Windows\Installer\MSI3C9D.tmp, Entrypoint:
WriteIIS7ConfigChanges
WriteIIS7ConfigChanges: Entering
WriteIIS7ConfigChanges in C:\Windows\Installer\MSI3C9D.tmp, version 3.8.2702.0
WriteIIS7ConfigChanges: Custom action data hash:
1E2828184D0581F3712CD7C1D632E48C845FE528
WriteIIS7ConfigChanges: CustomActionData
WriteIIS7ConfigChanges length: 817
WriteIIS7ConfigChanges: Error 0x80070057: Failed to
Commit IIS Config Changes
WriteIIS7ConfigChanges: Error 0x80070057:
WriteIIS7ConfigChanges Failed.
CustomAction WriteIIS7ConfigChanges returned actual error
code 1603 (note this may not be 100% accurate if translation happened inside
sandbox)
Action ended 13:26:25: InstallFinalize. Return value 3.
Anybody have any idea what the issue could be?
Cheers,
Steve
More information about the wix-users
mailing list