hongping wrote: > Hi, I am creating an installer and writing to the registry. Third-party > installers might also be writing to the same location as my installer for > sharing information. However, what I am seeing is that upon uninstall, even > keys written by other installers are removed, not just the ones my installer > installs. > > This is what I am trying out now: > <RegistryKey Root='HKLM' Key='Software\MyApp' > Action='createAndRemoveOnUninstall'> >
You're specifying the createAndRemoveOnUninstall action on the key, which removes the whole key, including values and subkeys, on uninstall. Just omit the Action attribute. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users