The log is showing this:
MSI (s) (98:20) [16:09:09:028]: Disallowing uninstallation of component: 
{5703B886-7D29-45D1-9EFF-35198D58EC20} since another client exists

And then this:
MSI (s) (98:2C) [16:18:48:399]: Executing op: 
ComponentUnregister(ComponentId={5703B886-7D29-45D1-9EFF-35198D58EC20},,BinaryType=0,PreviouslyPinned=1)

Un-registering it shouldn't remove it should it?

I'm not seeing anywhere else where its being called to remove (except 
RemoveRegistryValues, and even if I suppress that (which I don't want to have 
to do)) it still removes it.

-----Original Message-----
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Monday, December 01, 2008 3:05 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Permanent Component being removed on uninstall

Verbose log file will explain why it is being uninstalled.

-----Original Message-----
From: Dylan Moline (Volt) [mailto:[EMAIL PROTECTED]
Sent: Monday, December 01, 2008 15:01
To: [email protected]
Subject: [WiX-users] Permanent Component being removed on uninstall

Trying to create a registry key which is edited by an application, and keep the 
entire key after the program is uninstalled (incase it is re-installed, want 
the stored data to remain)

Here is the sample code. However, every time I install, it creates the proper 
key, but when I uninstall via ARP, it removes the entire key.

<Component Id="foo" Guid="xxx" Permanent="yes">
            <Registry Action="createKey" Root="HKLM" Key="SOFTWARE\foo\blah"/>
           </Component>

I've checked the package with ORCA, and it shows the component table with the 
attribute of 16, which should translate properly to "permanent".

Even if I manually go in an add a string/Dword, it still all gets removed on 
uninstall.

Am I missing something? (using wix 2)
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to