In your patch, you need to remove the "RemoveOnUninstall="yes" on the User you 
create, or when you uninstall the patch, it uninstalls the user.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Faraz
Sent: Tuesday, August 19, 2008 3:25 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Patching resets WebAppPool's Password


Hi,

I have an installation that creates a User and assigns it to a WebAppPool.
The credentials of the User are obtained through a custom dialog. I then
went on to create an MSP for this installation that replaces some files.

Everything works fine but when uninstalling the patch, it seems that the
WebAppPool is reconfigured and although everything else remains the same the
password of the User assigned as identity is lost.

The App pool is created as:

<iis:WebAppPool Id="WEB.APPPOOL.THERETAILSUITE" Identity="other"
Name="SomeUser" User="WEB.USER" />

And the user is created as:

<util:User Id="WEB.USER" Name="[WEBUSER.NAME]" Password="[WEBUSER.PASSWORD]"
PasswordNeverExpires="yes" RemoveOnUninstall="yes" FailIfExists="no"
UpdateIfExists="no" Disabled="no" Domain="[WEBUSER.DOMAIN]">
</util:User>

Is there any way to stop this reconfiguration from happening?

Faraz
--
View this message in context: 
http://n2.nabble.com/Patching-resets-WebAppPool%27s-Password-tp732841p732841.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to