Thanks I should have tested before asking. It does work. Because of the action attribute of the RegistryKey element I thought that I have to do something explicitly to get the registry value removed on uninstall.
Regards Val On 07/07/2011 23:20, Rob Mensching wrote: > How are you adding the registry key? By default, any registry keys defined > in your MSI should be removed at uninstall. > > On Thu, Jul 7, 2011 at 3:05 AM, Valentin Bogdanov< > valen...@serendipity-interactive.com> wrote: > >> Hi >> >> I have the following problem. I am adding a registry value to >> HKLM\Software\Microsoft\Windows\CurrentVersion\Run so that my >> application will start running when the user logs in. However, I can't >> seem to find a way to remove the registry value on uninstall. Obviously, >> I can remove registry keys but in my case that's not desirable. >> >> So, is there a way to remove a registry value with wix and I mean only >> the value? If not I will be happy if you can suggest a workaround. >> >> Regards, >> Val >> _________________________________________________ >> Scanned by Serendipity Interactive - MYmailSAFE >> >> >> ------------------------------------------------------------------------------ >> All of the data generated in your IT infrastructure is seriously valuable. >> Why? It contains a definitive record of application performance, security >> threats, fraudulent activity, and more. Splunk takes this data and makes >> sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-d2d-c2 >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> > _________________________________________________ Scanned by Serendipity Interactive - MYmailSAFE ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users