Hi Rob,

Here is the log information on failure during repair

MSI (s) (E8:74) [14:01:35:823]: Executing op:
ActionStart(Name=CreateUser,,)
MSI (s) (E8:74) [14:01:35:823]: Executing op:
CustomActionSchedule(Action=CreateUser,ActionType=11265,Source=BinaryDat
a,Target=**********,CustomActionData=**********)
MSI (s) (E8:74) [14:01:35:823]: Creating MSIHANDLE (320) of type 790536
for thread 21108
MSI (s) (E8:B4) [14:01:35:838]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSIBC7F.tmp, Entrypoint: CreateUser
MSI (s) (E8:E0) [14:01:35:838]: Generating random cookie.
MSI (s) (E8:E0) [14:01:35:838]: Created Custom Action Server with PID
8904 (0x22C8).
MSI (s) (E8:E0) [14:01:35:854]: Running as a service.
MSI (s) (E8:E0) [14:01:35:854]: Hello, I'm your 32bit Elevated custom
action server.
MSI (s) (E8!40) [14:01:35:869]: Creating MSIHANDLE (321) of type 790531
for thread 20032
CreateUser:  Error 0x800708b0: failed to create user: TestUser
MSI (s) (E8!40) [14:01:35:869]: Closing MSIHANDLE (321) of type 790531
for thread 20032
MSI (s) (E8!40) [14:01:35:885]: Creating MSIHANDLE (322) of type 790531
for thread 20032

Thanks and Regards,
Surekha Vuchuru

 

-----Original Message-----
From: Rob Mensching [mailto:rob.mensch...@microsoft.com] 
Sent: Tuesday, December 30, 2008 1:53 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Repair mode condition

What's the failure in the verbose log file during repair?

-----Original Message-----
From: Vuchuru, Surekha (SBT US EXT)
[mailto:surekha.vuchuru....@siemens.com] 
Sent: Tuesday, December 30, 2008 11:49
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

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

Reply via email to