I have this wxs file to install binarys and a website in IIS. The
installation works fine. But just during uninstall, only the binary folders
are removed. The IIS website remains there (though the status becomes
unknown). I tried the verbose log, but didn't see any error/warning there.

Can someone give me some help/hints? More generally, besides logging, is
there any debugger for wix? Thank you very much.





<?xml version="1.0"?>



<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"; xmlns:util="
http://schemas.microsoft.com/wix/UtilExtension"; xmlns:iis="
http://schemas.microsoft.com/wix/IIsExtension";>



<Product Name="Catalog Server" Id="*" Language="1033" Version="1.0.0.0"
Manufacturer="xxx" UpgradeCode="7000CDE6-66E3-4bdc-9494-E0B0CEC4EDD6">



<Package Description="applet catalog server." Comments="This is the Catalog
Site HttpHandlers at the IIS frontend." Manufacturer="xxx"
InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />



<Media Id="1" Cabinet="Server.cab" EmbedCab="yes" />



<Property Id="CATHOSTNAME" Value="xxx" />



<Property Id="CATSITENAME" Value="Catalog Site" />



<Property Id="CATAPPPOOLNAME" Value="Catalog App Pool" />





<Directory Id="TARGETDIR" Name="SourceDir">



<Directory Id="ProgramFilesFolder">



<Directory Id="ROOT" Name="Catalog Server">



<Component Id="WebConfig" Guid="C933197C-F987-45a1-AD09-ECDD3D95C54B">



<File Id="WebConfig" Source="..\Web\Web.config" />



<util:XmlFile Id="UpdateConnection" File="[ROOT]Web.config"
Action="setValue" ElementPath="/configuration/connectionStrings/add"
Name="connectionString" Value="[CATDBCONNECTION]" />



</Component>



<Directory Id="BIN" Name="bin">



<Component Id="Bin" Guid="1B1DC8A2-6F21-4ec8-A689-3179745EC916">



<File Id="FSharp.Core.dll" Source="$(env.ODIR)\Web\bin\FSharp.Core.dll"
DefaultLanguage="1033" />



...



</Component>



</Directory>



</Directory>



</Directory>



<Component Id="Site" Guid="F4331A78-E7F7-4ef6-A8F0-1764C8348E7C">



<util:User Id="AppPoolUser" CreateUser="no" Name="[CATUSERNAME]"
Password="[CATPASSWORD]" />



<iis:WebAppPool Id="AppPool" Name="[CATAPPPOOLNAME]" Identity="other"
User="AppPoolUser" />



<iis:WebSite Id="CatalogSite" Description="[CATSITENAME]" Directory="ROOT">



<iis:WebAddress Id="Address" Header="[CATHOSTNAME]" Port="80" />



<iis:WebApplication Id="CatalogApp" Name="Catalog App" WebAppPool="AppPool"
AllowSessions="no" ScriptTimeout="300" />



<iis:WebDirProperties Id="DirProps" Execute="yes" Script="yes" Read="yes" />



</iis:WebSite>



</Component>



<Component Id="EventSource" Guid="53753E70-B60E-49bc-81AD-E9E9598BD96F">



<util:EventSource Name="Catalog" Log="Application"
EventMessageFile="%SystemRoot%\Microsoft.NET\Framework\v2.0.5072\EventLogMessages.dll"
/>



</Component>



</Directory>



<Feature Id="Server" Title="Catalog Server" Level="1">



<ComponentRef Id="WebConfig" />



<ComponentRef Id="Bin" />



<ComponentRef Id="Site" />



<ComponentRef Id="EventSource" />



</Feature>



</Product>



</Wix>


-- 
Cheers,

Gang Cheng
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to