Hi,
I try to look in the code but didn't found this possibility. When upgrading being able to detect the previous installation and its installed features. i use this to do it :
I try to look in the code but didn't found this possibility. When upgrading being able to detect the previous installation and its installed features. i use this to do it :
private static void Compiler_WixSourceGenerated(XDocument document)
{
var docRoot = document.Root;
var migrate = docRoot.Select("Product/Upgrade/UpgradeVersion");
migrate.AddAttributes(
new Dictionary<string, string>
{
{"MigrateFeatures","yes"}
}
);
}
could you add this in the majorUpgrade options or someplace relevant ?