Dan, sounds like a good thing to add to the documentation. Can you open a bug in WiX v3.6?
PS: Glad the WiX toolset is working for you. Success stories are appreciated as much as bug reports. <smile/> On Fri, Jul 8, 2011 at 4:26 AM, Daniel Madill <dan.mad...@quanser.com>wrote: > I find the Action attribute values confusing as well. It didn't help that > all the examples I looked at used "createAndRemoveOnUninstall" even though > that generally isn't necessary. I would actually have found it much clearer > to use "createAndRemoveOnUninstall" and "createAndRemoveAllOnUninstall" > rather than "create" and "createAndRemoveOnUninstall" respectively. Oh well, > too late now. I realize the names were likely inspired by the MSDN Registry > Table documentation. > > However, if I might be so bold, I would recommend updating the help page > for RegistryKey, as well as some of the examples in the common tutorials to > be much clearer. For instance, the following statement could be added to the > help for the 'create' action: "The registry key will be removed on > uninstall, provided it is empty (after any subkeys or values added by > RegistryKey or RegistryValue elements have been removed). In the event that > an application, or the user, have added additional subkeys or values under > this key, removal of all subkeys and values may be forced by using the > 'createAndRemoveOnUninstall' action instead." > > BTW, WiX has been the only installer technology we've been able to use. > Other installer technologies have crashed or otherwise failed trying to > build our installer (it's rather big). I just wanted to express a giant > "thank you" to the WiX developers! (The fact it has a preprocessor whereby I > can build 32-bit and 64-bit installers, with slight differences, from the > same source is absolutely wonderful too!) > > Sincerely, > Dan > > -----Original Message----- > From: Valentin Bogdanov [mailto:valen...@serendipity-interactive.com] > Sent: Friday, July 08, 2011 4:54 AM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Removing Registry Value > > 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 > > > ------------------------------------------------------------------------------ > 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 > > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ 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