toolset.
> Subject: Re: [WiX-users] On uninstall, group is not removed from user
>
> Try this:
>
> Directory="TARGETDIR"
> ExeCommand="cmd.exe /c net localgroup administrators youruser
> /delete" //this just deletes the users group
[mailto:jeremi...@gmail.com]
Sent: Wednesday, October 8, 2014 5:36 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] On uninstall, group is not removed from user
Try this:
add the CustomAction to your installexecutesequence
(NOT
UPGRADINGPRODUCTCODE) AND (REMOVE=&quo
Try this:
add the CustomAction to your installexecutesequence
(NOT
UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")
Hope that helps.
J
On Tue, Oct 7, 2014 at 9:57 PM, Nick Ramirez wrote:
> Jeremiahf wrote
> > Sorry, Thought you were trying to remove the user from the group on
> > uninstall.
>
> Y
Jeremiahf wrote
> Sorry, Thought you were trying to remove the user from the group on
> uninstall.
Yep. That's what I'm trying to do. The LocalGroupMember element from the
Community MSI Extensions does what I need. Not sure whether I should say
it's a bug in the Util extension that it lacks this f
Sorry, Thought you were trying to remove the user from the group on
uninstall.
On Mon, Oct 6, 2014 at 10:42 AM, Nick Ramirez wrote:
> No need to make my own custom action. I've found that the WiX extension
> from
> the Community MSI Extensions project has an element for adding an existing
> user
No need to make my own custom action. I've found that the WiX extension from
the Community MSI Extensions project has an element for adding an existing
user to a group that works for me.
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/On-uninstall-
Why not add another custom action that removes the user from the group and
only execute on the condition of Uninstall?
On Sun, Oct 5, 2014 at 2:19 PM, Bob Arnson wrote:
> On 05-Oct-14 01:58, Nick Ramirez wrote:
> > I was afraid that setting RemoveOnUninstall to "yes" or not putting it
> there
>
On 05-Oct-14 01:58, Nick Ramirez wrote:
> I was afraid that setting RemoveOnUninstall to "yes" or not putting it there
> at all would have the effect of removing the existing user from the system.
That doesn't happen with @CreateUser="no".
> Thankfully, that does not happen. However, it also doesn
I was afraid that setting RemoveOnUninstall to "yes" or not putting it there
at all would have the effect of removing the existing user from the system.
Thankfully, that does not happen. However, it also doesn't affect the user's
group membership. The user is left unchanged after uninstall, still
b
On 27-Sep-14 16:33, Nick Ramirez wrote:
> RemoveOnUninstall="no">
> ...
> When I run this installer, the existing user is updated so that it is now a
> member of the Administrators group. However, on uninstall, the membership is
> not removed from that user. Is there something else I need to add to
I have the following markup to add an existing user to a group:
When I run this installer, the existing user is updated so that it is now a
member of the Administrators group. However, on uninstall, the m
11 matches
Mail list logo