Bugs item #1894167, was opened at 2008-02-15 01:14
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1894167&group_id=105970
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: v2.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Marty Wasznicky (martywaz)
Assigned to: Nobody/Anonymous (nobody)
Summary: ConfigureUsers custom action fails on uninstall
Initial Comment:
I created an install program with WiX 2.0. within it, it adds the Log on as a
service right to an existing domain user like so (from WIX file -
Neuron.waproj.bak):
<Component Id="C_FL_ESBService.exe"
Guid="{ECAA8A97-050C-4712-8919-A58EF814070D}">
<User Id="ServiceUser" UpdateIfExists="yes" Name="[SERVICEUSER]"
Domain="[SERVICEDOMAIN]" CreateUser="no" FailIfExists="no" LogonAsService="yes"
RemoveOnUninstall="no" />
<File Id="FL_ESBService.exe" Name="ESBSer_1"
LongName="ESBService.exe"
Source="C:\dev\ESB\Main\ESBCore\bin\release\ESBService.exe" DiskId="1"
KeyPath="yes">
</File>
<ServiceInstall Id="ESBService" ErrorControl="normal" Name="ESB
Service" Start="auto" Type="ownProcess" DisplayName="ESB Service" Vital="yes"
Password="[SERVICEPASSWORD]" Account="[SERVICEDOMAIN]\[SERVICEUSER]"
Interactive="no">
</ServiceInstall>
<ServiceControl Id="ESBServiceUninstall" Name="ESB Service"
Remove="uninstall"/>
</Component>
The install goes fine, and the log on as a service right is granted to the
existing user account that exists within the domain.
However, when I try to uninstall, with by command line, or through add/remove
programs I get an error (I have the msi log file - loguninstall.txt). I placed
a fragment of the log file below. This has blocked out use of WIX..:
MSI (s) (D8!18) [16:31:23:037]: Creating MSIHANDLE (86) of type 790531 for
thread 1560
Action start 16:31:10: ConfigureUsers.
MSI (s) (D8!18) [16:31:23:037]: Closing MSIHANDLE (86) of type 790531 for
thread 1560
MSI (s) (D8!18) [16:31:23:037]: Creating MSIHANDLE (87) of type 790531 for
thread 1560
ConfigureUsers: Error 0x80070035: Failed to check existence of domain: 5,
user: 0
MSI (s) (D8!18) [16:31:23:053]: Closing MSIHANDLE (87) of type 790531 for
thread 1560
MSI (s) (D8!18) [16:31:23:053]: Closing MSIHANDLE (80) of type 790541 for
thread 1560
MSI (s) (D8:AC) [16:31:23:053]: Closing MSIHANDLE (79) of type 790542 for
thread 1284
ConfigureUsers: Error 0x80070035: failed to add/remove User actions
MSI (s) (D8:04) [16:31:23:053]: Machine policy value 'DisableRollback' is 0
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1894167&group_id=105970
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs