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'>
        <RegistryValue Action='write' Type='string' Name='MyRegistry'
Value='MyValue'/>
        <RegistryKey Key='MyAppSub' Action='createAndRemoveOnUninstall'>
          <RegistryValue Action='write' Type='string' Name='MySubRegistry'
Value='MyValue'/>
        </RegistryKey>
      </RegistryKey>

Suppose another installer creates another key, say
"Software\MyApp\AnotherSubKey". When my installer uninstalls, the entire
node Software\MyApp gets removed.

How do I make sure that upon uninstall, only the values that are written by
my installer get removed, and not those written by others?

Thanks.
-- 
View this message in context: 
http://www.nabble.com/Uninstall-removes-registry-keys-not-written-by-installer-tp15567828p15567828.html
Sent from the wix-users mailing list archive at Nabble.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

Reply via email to