I have following for the detect package:
private void OnDetectPackageComplete(object sender,
DetectPackageCompleteEventArgs e)
{
if (e.State == PackageState.Present)
{
if (e.PackageId != "NetFx40Web")
{
HasInstalledAlready = true;
}
}
else if (e.State == PackageState.Absent)
{
HasInstalledAlready = false;
}
else if (e.State == PackageState.Obsolete)
{
// Display higher version is already installed
}
else
{
// Display message not supported state
}
}
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-Bootstrapper-is-not-removing-older-version-from-Control-Panel-Uninstall-Program-tp7593116p7593198.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users