[wix-users] Uninstall After NetFx Install

Brian Heilig heilig.brian at gmail.com
Mon Apr 23 08:25:11 PDT 2018


 Hi,

I have a bootstrapper that will download and install the .NET framework if
it doesn't exist using the NetFxExtension. After the .NET install completes
my custom UI is presented. If for any reason the installation isn't
completed (e.g. the user canceled) and the installer is executed again Burn
thinks my product is fully installed and will attempt to uninstall it (my
custom UI presents the uninstall screen).

How can I prevent Burn from thinking my product is installed just because
it previously installed .NET (it is the only installed component)? In the
source code the NetFx452Web target is permanent
https://github.com/wixtoolset/wix3/blob/7c8457fa3802858add8981b92996e19574e762da/src/ext/NetFxExtension/wixlib/NetFx452.wxs
<https://deref-mail.com/mail/client/bwWZi5RD2kE/dereferrer/?redirectUrl=https%3A%2F%2Fgithub.com%2Fwixtoolset%2Fwix3%2Fblob%2F7c8457fa3802858add8981b92996e19574e762da%2Fsrc%2Fext%2FNetFxExtension%2Fwixlib%2FNetFx452.wxs>.
I thought that would be good enough.

Thank you!
Brian


More information about the wix-users mailing list