Hello,
I'm using the latest build of the WiX 3.5.1630.0
and I have a problem while attempt to update currently installed product.
I don't know how to avoid this that's why I here :)
I'm trying to update my product and run in command line:
msiexec /i setupproject.msi REINSTALL=ALL REINSTALLMODE=vomus /l* error.log
Here is cut from my setup log:
Action 18:27:40: WriteIIS7ConfigChanges. Installing Config Keys and Values
WriteIIS7ConfigChanges: Entering WriteIIS7ConfigChanges in
C:\Windows\Installer\MSIBE9B.tmp, version 3.5.1630.0
WriteIIS7ConfigChanges: Error 0x800700b7: Failed to add appPool element
WriteIIS7ConfigChanges: Error 0x800700b7: Failed to configure IIS appPool.
WriteIIS7ConfigChanges: Error 0x800700b7: WriteIIS7ConfigChanges Failed.
Action ended 18:27:40: InstallFinalize. Return value 3.
As you see the problem refers to the AppPool that i've installed. I tried to
remove it mannualy before update and I saw another problem with almost the
same text but it reffered to VDir. And only after I removed VirtualDir
mannualy from IIS manager, upgrade succeeded.
And here is a section of *.wxs file with IIS related settings:
<!-- Using IISExtension -->
<iis:WebSite Id="DefaultWebSite" Description="Default Web Site">
<iis:WebAddress Id="AllUnassigned" Port="80" />
</iis:WebSite>
<DirectoryRef Id="WEBAPPDIR">
<Component Id="VirtualDirComponent" Guid="{SOMEGUID}" KeyPath="yes">
<util:User Id="AppPoolUser" CreateUser="no" Name="ValidUser"
Password="ValidPass"/>
<iis:WebAppPool Id="CUSTOMAPPOOL" Name="MyAppPool" Identity="other"
User="AppPoolUser"/>
<iis:WebVirtualDir Id="BfsVirtualDir" Alias="MyWebApp"
Directory="WEBAPPDIR" WebSite="DefaultWebSite">
<iis:WebApplication Id="BfsWebApplication" Name="Alfa"
WebAppPool="CUSTOMAPPOOL" />
</iis:WebVirtualDir>
</Component>
</DirectoryRef>
If I missed something very important, please let me know. Or maybe it's a
bug...
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Problem-with-AppPool-and-VDir-during-update-tp5014897p5014897.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users