Maybe you want FailIfExists="no"? That would seem to make it a no-op on repair, since you already have UpdateIfExists="no".
-----Original Message----- From: Vuchuru, Surekha (SBT US EXT) [mailto:surekha.vuchuru....@siemens.com] Sent: Tuesday, December 30, 2008 2:49 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Repair mode condition Hi Rob, I am using the user element...I goes something like this... <Component Id="DefaultUser" Guid="{0B67162C-9592-456e-9C2B-9BA370F8FFD9}" Directory="INSTALLDIR"> <CreateFolder/> <util:User Id="DefaultUserElement" Name="[DEFAULTUSERNAME]" CanNotChangePassword="yes" CreateUser="yes" Disabled="no" FailIfExists="yes" LogonAsService="no" Password="[DEFAULTPASSWORD]" PasswordExpired="no" PasswordNeverExpires="yes" RemoveOnUninstall="yes" UpdateIfExists="no" /> </Component> Thanks and Regards, Surekha Vuchuru -----Original Message----- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: Tuesday, December 30, 2008 1:45 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Repair mode condition Are you using the User element or your own CustomAction? -----Original Message----- From: Vuchuru, Surekha (SBT US EXT) [mailto:surekha.vuchuru....@siemens.com] Sent: Tuesday, December 30, 2008 11:38 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Repair mode condition Hello Everyone, Installer is creating a user during installation and removing during uninstallation...But, when I select repair option after installing the msi, it executes that component and tries to create the user again...As a result of that, my repair fails...I donot want that component to be executed during repair mode...I have given "NOT Installed" condition and it does not work...It still behaves the same.... Please let me know what would be the proper condition for not allowing a component to execute during repair mode... Thanks and Regards, Surekha Vuchuru ------------------------------------------------------------------------ ------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users