I am using WIX 3.0.4617.0

The upgrade doesn't remove the identity. The application pool uses a 
logon which cannot be removed by uninstalling the application. I 
specifically set the logon to be RemoveOnUninstall="no", hence I am sure 
that the logon (identity) exists when reinstalling the application pool.

When I manually set the identity using the IIS Manager I can see that 
the correct identity is set, but nevertheless I need to set it again in 
order to start the application pool.

Thank you for your help
Joe



Michael Osmond wrote:
> Joe,
>
> How is the Uninstall of the old product version scheduled in the
> upgrade.  My guess is that your update is uninstalling and then
> installing the web pool and when it reinstalls it, it no longer has the
> identity to use.  
>
> Michael
>
> -----Original Message-----
> From: Joe Osman [mailto:joe.os...@tait.co.nz] 
> Sent: Thursday, 22 January 2009 11:27 AM
> To: General discussion for Windows Installer XMLtoolset.
> Subject: [WiX-users] Application pool identity is stuffed up on
> productupgrade - IIS7.0
>
> I am using Wix to create an application pool with an identity of a
> custom account. When I do a major upgrade the application pool identity
> is stuffed up although it should remain unchanged. The result is that
> the application pool is stopped and I get Service Unavailable message
> when I try to access the website that uses this application pool. The
> only way to solve it is to manually set the identity of the application
> pool after the upgrade is completed.
>
> I have no idea why it happens - the identity of the application pool
> shouldn't change. The only way to prevent the installer from setting the
> application pool identity on product upgrade is to disable the
> ConfigureIIs action on product upgrade, but the side effect is that the
> web site isn't removed on uninstall.
>
> This is the Wix code that creates the website and the application pool:
>
> <Component Id="CreateWebSite"
> Guid="CBAF81F1-E6D2-430e-A5FC-08DCCC4FC8D7">
>                     <CreateFolder />
>                     <iis:WebSite  Id='KeyManagement' AutoStart='yes' 
> Directory='Web.Ui'
>                                   Description='Key Management Facility'
>   
>                         <iis:WebAddress Id='AllUnasigned' Port='80'/>
>                             <iis:WebApplication
> Id='WMISystemMonitorWebservices' Name='KMfWebAPPName'
>                                                 
> WebAppPool='ClientApplicationPool' />
>                     </iis:WebSite>
>
>                 </Component>
>                 <Component Id='ClientApplicationPoolComponent'
>                         Guid='012C66B6-B308-4883-BE18-C99E0E90B476' 
> KeyPath='yes' UninstallWhenSuperseded='yes' >
>                         <iis:WebAppPool Id='ClientApplicationPool'
>                         Name='Tait Key Management Facility' 
> Identity='other' User='KmfWebUI' />
>                 </Component>
>             </DirectoryRef>
>
> =======================================================================
> This email, including any attachments, is only for the intended
> addressee.  It is subject to copyright, is confidential and may be the
> subject of legal or other privilege, none of which is waived or lost by
> reason of this transmission.
> If the receiver is not the intended addressee, please accept our
> apologies, notify us by return, delete all copies and perform no other
> act on the email.
> Unfortunately, we cannot warrant that the email has not been  altered or
> corrupted during transmission.
> =======================================================================
>
>
> ------------------------------------------------------------------------
> ------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>   

=======================================================================
This email, including any attachments, is only for the intended
addressee.  It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
 altered or corrupted during transmission.
=======================================================================


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to