[wix-users] Uninstall After NetFx Install

Rob Mensching rob at firegiant.com
Mon Apr 23 10:05:48 PDT 2018


IIRC, there is an issue open on this behavior. Good solution not discovered yet.

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Brian Heilig via wix-users
Sent: Monday, April 23, 2018 8:25 AM
To: wix-users at lists.wixtoolset.org
Cc: Brian Heilig <heilig.brian at gmail.com>
Subject: [wix-users] Uninstall After NetFx Install

 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