Updating the thread with more information. From: Pierson Lee (Volt) Sent: Thursday, November 08, 2007 3:23 PM To: Aaron Wiley; Blair Murri Cc: James Elder; Nick Horvath Subject: RE: IIS issues with MSI install
I certainly can! Blair, The version I am using is: Votive 2005 - Windows Installer XML (WiX) Toolset, Version 3.0.2925.0 The issue with the AppPool is similar to the issue I am having with the websites. It would insert the keys and folders in the wrong spot in the metabase. It looks as if IIS Websites seem to be a little more forgiving then the AppPools. Here is a screen shot of the metabase issue that I'm seeing currently. Notice the two sections in the red box, it looks as if the W3SVC\5 section is being put all over the place when it should only reside under the LM section of the metabase. Any help is appreciated. Thanks Pierson [cid:image001.png@01C8221D.43ADF8D0] ________________________________ From: Blair Murri Sent: Wednesday, November 07, 2007 6:11 PM To: Aaron Wiley Cc: James Elder; Nick Horvath Subject: RE: IIS issues with MSI install I personally haven't done anything involving building MSIs for IIS, and I have done next to nothing with IIS in general. This appears (on the surface) to be a bug in the IIS custom actions. The alias for WiX is wix-users@lists.sourceforge.net<mailto:wix-users@lists.sourceforge.net>, which is external and public. The archives for this alias are at http://sourceforge.net/mailarchive/forum.php?forum_name=wix-users. I noticed that Pierson sent this same message to that alias today (see attached). Which version/build of the WiX toolset? (it would be helpful to add to that email thread the build of WiX used) Also, what issues have you had with WebAppPool? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pierson Lee (Volt) Sent: Wednesday, November 07, 2007 1:10 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] IIS issues during install/uninstall Hello all- I'm getting occasional (and increasingly frustrating) issues with IIS Web Site/applications and IIS Application Pools in IIS when using a WiX 3.0 Created MSI package where the sites/app pools are getting installed on the wrong level of the metabase then not uninstalling properly, causing reinstalls/upgrades to fail. (installing to a Windows 2003 Server x64bit running IIS 6.0) Example (using adsutil ENUM /p W3SVC/3): IIS Metabase (Correct)- W3SVC/3/Root W3SVC/3/Filters IIS Metabase (Incorrect)- W3SVC/3/Root W3SVC/3/Filters W3SVC/3/W3SVC When I look under the last path ( adsutil ENUM /p W3SVC/3/W3SVC) it is showing W3SVC/3/w3svc/3 Because of this, it is not fully uninstalling the site when the MSI is getting uninstalled. I had the same issue with App Pools in IIS to the point where I took that part out of the WiX MSI and separated it into a C# application. I don't want to do that with the website because if I do, at that point, the MSI will just be a glorified xCopy. Any help will be appreciated. Code snippet (with names slightly changed) is provided below. Thanks Pierson <Fragment> <!-- Web Service Username/Password --> <util:User Id="ProgramWebServiceUser" Name="[PROGRAMSERVICE_USERNAME]" Password="[PROGRAMSERVICE_PASSWORD]" /> <!-- Components and Directory Definitions --> <!-- Web Directory Properties (same for all the sites) --> <iis:WebDirProperties Id="WebAppProperties" AnonymousAccess="no" WindowsAuthentication="yes" AccessSSL="yes" Execute="yes" Read="yes" DefaultDocuments="Default.aspx" Script="yes" /> <!-- Root Directory --> <DirectoryRef Id="TARGETDIR"> <Component Id="ProgramWebSiteComponent" Guid="{<GUID HERE>}"> <!-- Web Settings --> <iis:WebSite Id="ProgramWebSite" Description="Program Website - [PROGRAMWEBSITE_STANDARD_PORT]/[PROGRAMWEBSITE_SECURE_PORT]" Directory="WebDir" DirProperties="WebAppProperties" > <iis:WebAddress Id="ProgramWebSiteAddress_Standard" Port="[PROGRAMWEBSITE_STANDARD_PORT]" Secure="no" /> <iis:WebAddress Id="ProgramWebSiteAddress_Secure" Port="[PROGRAMWEBSITE_SECURE_PORT]" Secure="yes" /> </iis:WebSite> </Component> </DirectoryRef> <DirectoryRef Id="TARGETDIR"> <Component Id="WebServiceConfigComponent" Guid="{<GUID HERE>}">}"> <iis:WebServiceExtension Id="ASP.NET2.0" Allow="yes" File="%WINDIR%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" Description="ASP.NET v2.0.50727" UIDeletable="no" /> </Component> </DirectoryRef> <!-- Assigning all the components for the UI to a single Component Group--> <ComponentGroup Id="WebSite"> <!-- Web site components--> <ComponentRef Id="ProgramWebSiteComponent" /> <ComponentRef Id="WebServiceConfigComponent"/> </ComponentGroup> </Fragment>
<<inline: image001.png>>
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users