Quantcast
Channel: wixsharp Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1354

New Post: ForceDeleteOnUninstall

$
0
0
Hi Oleg,

Thanks for Wix#, which we've found to be stunningly useful in our team.

We've recently had a problem where installers have deleted registry keys and destroyed important configuration for another product of ours during uninstall. One of our products keeps quite a lot of important configuration at a particular key. I was just recording the install location of the product I'm working on in the same key. During uninstall, removing the whole key rendered the first product completely inoperable. It stems from the way the ForceDeleteOnUninstall property of the RegValue class defaults to true in the version of Wix# we are using, 1.0.24.

With this property implicitly set to true, the uninstall will by default delete not just the value that was installed, but also the whole key, including any other values that might have been there.

What is the rationale for doing uninstalls this way? Can you change this default to false?

Thanks very much,
Joshua Lawrence

Viewing all articles
Browse latest Browse all 1354

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>