I have a custom .net BootstrapperApplication where I've included .net in
the chain:


<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"; xmlns:util="
http://schemas.microsoft.com/wix/UtilExtension";>
  <Bundle Name="$(var.BundleProductName)"
          Version="$(var.BundleVersion)"
...
          Compressed="yes" DisableRepair="yes" >

    <BootstrapperApplicationRef Id="ManagedBootstrapperApplicationHost" >
      <PayloadGroupRef Id="MyInstallerUILibs" />
    </BootstrapperApplicationRef>

   <Chain>
      <!-- Install .Net 4 Full -->
      <PackageGroupRef Id="NetFx40Web" />

      <!-- Install my packages -->
      <PackageGroupRef Id="MyPackages" />

    </Chain>
  </Bundle>
</Wix>


When I run the installer on a machine without .net 4 installed, it prompts
the user to download as expected and correctly installs .net 4.0 before
displaying my custom UI. So far, so good.

In my UI, I want to give the user the option of cancelling/exiting the
install before we install any additional packages. For example, if the user
doesn't agree to our EULA.

What I'm seeing is this: If the .net 4.0 install runs and completes, then
within my BootstrapperApplication I exit before doing any Plan/Apply
actions, the bundle still shows up in the Add Remove Programs menu. I've
tried calling Engine.Quit((int) ActionResult.NotExecuted) and
Engine.Quit((int) ActionResult.UserExit), but neither seem to keep it off
the ARP list.

Note: the .net 4 install is also shown in the APR list, as expected.

So my question is this:
What is the right way to signal to the engine that the bundle install was
stopped and the bundle itself should not be displayed in the ARP list?

thanks
~John
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to