Feature Requests item #1489357, was opened at 2006-05-16 00:33
Message generated for change (Comment added) made by robmen
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642717&aid=1489357&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: Denied
>Status: Closed
Priority: 5
Private: No
Submitted By: Voranc Kutnik (voranck)
>Assigned to: Rob Mensching (robmen)
Summary: Removing local user when uninstalling application
Initial Comment:
Hello!
I have a problem with removing local user when uninstalling
application. I create this user during installation with:
...
<Component Id='AdminAccountComp' Permanent="no"
Guid='8756fe7d-1555-4e92-aba3-e4b5dab1cedb'>
<User Id='AdminAccount'
Domain='[ComputerName]'
Name='[ADMINNAME]' Password='[ADMINPASSWORD]'
CreateUser='yes'
PasswordNeverExpires='yes'
RemoveOnUninstall='yes' FailIfExists='no'
UpdateIfExists='yes'>
<GroupRef Id='IisWpgGroup'/>
</User>
</Component>
<Group Id="IisWpgGroup" Name="IIS_WPG"/>
...
Uninstall of application fails, because I get error:
...
RemoveUser: Error 0x80070103: failed to read domain
from custom action data
Action ended 13:13:45: InstallFinalize. Return value 3.
Action ended 13:13:45: INSTALL. Return value 3.
...
How can I remove user while uninstalling application?
What am I doing wrong?
Derek Cicerone wrote:
You have to persist the property value from install to
uninstall if it's not
directly authored in the msi file by saving it to a
registry value or some
other persistent location. I believe this may have
already been discussed
on this alias, so you might check the archives.
----------------------------------------------------------------------
>Comment By: Rob Mensching (robmen)
Date: 2007-02-02 00:02
Message:
Logged In: YES
user_id=991639
Originator: NO
Derek provided the answer. You need to persist the data for uninstall
because the Windows Installer does not do it for you.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642717&aid=1489357&group_id=105970
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs