[wix-users] Custom Burn UI problem

Lavoie, Sylvain Sylvain.Lavoie at McKesson.com
Tue Dec 20 15:40:35 PST 2016


Hi there,

Not really sure where is the problem, I'm new to Burn and even newer to Custom BA.

I created a custom BA for my installer.
Now the install seam to work correctly. All the 11 msi got installed and I have my Bundle showing in the Add Remove Program.

I have now to tests the upgrade
It install all the new msi correctly.
The files are updated in the folder.

During the Upgrade progress, I can see 2 app, in the Add remove program.
After my installer complete however both add remove program disappeared.

Here my bundle definition

<Bundle Name="!(loc.Product) $(var.ProductVersion)"
          Version="$(var.ProductVersion)"
          Manufacturer="!(loc.Manufacturer)"
          UpgradeCode="{Keep-same-guid}"
          Copyright="!(loc.Copyright)"
          AboutUrl="...!(loc.AboutUrl)"
          SplashScreenSourceFile="$(var.Wix.Bootstrapper.UI.ProjectDir)\Resources\SplashscreenBig.bmp"
          IconSourceFile="$(var.Wix.Bootstrapper.UI.ProjectDir)\Resources\Product.ico" DisableModify="yes" DisableRepair="yes" >


   <BootstrapperApplicationRef Id="ManagedBootstrapperApplicationHost">

      <Payload SourceFile="$(var.Wix.Bootstrapper.UI.TargetPath)" />



      <Payload SourceFile="$(var.Wix.Bootstrapper.UI.TargetDir)Wix.Bootstrapper.UI.pdb"/>

      <Payload SourceFile="$(var.Wix.Bootstrapper.UI.TargetDir)BootstrapperCore.config"/>

      <Payload SourceFile="$(var.Wix.Bootstrapper.UI.TargetDir)BootstrapperCore.dll"/>

      <Payload SourceFile="Configuration.xml"/>

      <Payload SourceFile="$(var.Wix.Bootstrapper.UI.TargetDir)Prism.dll" />

      <Payload SourceFile="$(var.Wix.Bootstrapper.UI.TargetDir)Newtonsoft.Json.dll"/>

      <Payload SourceFile="$(var.Wix.Bootstrapper.UI.TargetDir)Prism.Wpf.dll" />



      <!--<Payload SourceFile="$(var.Wix.Bootstrapper.UI.TargetDir)MahApps.Metro.dll" />-->

      <Payload SourceFile="$(var.Wix.Bootstrapper.UI.TargetDir)System.Windows.Interactivity.dll" />

      <Payload SourceFile='$(var.Wix.Bootstrapper.UI.TargetDir)Resources\logo.png' />

    </BootstrapperApplicationRef>



   <Chain>

      <MsiPackage Id="PackageID_1"

                  SourceFile="$(var.proj1.TargetPath)"

                  DisplayInternalUI="no"

                  Compressed="yes"

                  Vital="yes" >

        <MsiProperty Name="SERVICE_LOGON_TYPE" Value="[ServiceLogonType]"/>

        <MsiProperty Name="SERVICE_USERNAME" Value="[ServiceAccountUser]"/>

        <MsiProperty Name="SERVICE_PASSWORD" Value="[ServiceAccountPassword]"/>



        <MsiProperty Name="INSTALLDIR" Value="[InstallDir]"/>





      </MsiPackage>

                ... more msi packages


    </Chain>

  </Bundle>


Some custom code I'm not sure might have an impact

This from my Install UI


        void Bootstrapper_PlanPackageBegin(object sender, PlanPackageBeginEventArgs e)

        {

            // Without that after uninstall, it got set to cache and do not reinstall ?

                e.State = RequestState.Present;



        }

This from my uninstaller UI

Bootstrapper.PlanPackageBegin += (s, ea) =>
            {
                LogEvent("PlanPackageBegin", ea);
                ea.State = RequestState.Absent;

            };

Any idea why the upgrade remove all from the add remove program



More information about the wix-users mailing list