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

New Post: Using project.ControlPanelInfo.InstallLocation

$
0
0
As I can see the problem is in the fact that the registry entry is removed on uninstall triggered by update. Have a look at "Persisting AppInfo" sample it shows how to prevent regvalue from removal (both native and managed approach).

The fragment from the sample:
new RegValue(RegistryHive.LocalMachine, @"Software\My Company\My Product", "InstallationDirectory", "[INSTALLDIR]") 
{
    AttributesDefinition = "Component:Permanent=yes" 
}

Viewing all articles
Browse latest Browse all 1354

Trending Articles



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