[wix-users] Wix Burn: Rollbackboundary was discarded?

Phill Hogland phill.hogland at rimage.com
Tue Sep 15 05:53:46 PDT 2015


Are both NetFx451Redist and VC_ReDist_120 marked to be Permanent?  I have found that RollbackBoundary(s) do not play well when all of the packages prior to the RollbackBoundary are permanent and there for there would be nothing to uninstall if the setup rolled back to that boundary.  I am not sure if my observation is related to your situation.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Farrukh Waheed
Sent: Tuesday, September 15, 2015 5:13 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Wix Burn: Rollbackboundary was discarded?

While compiling Burn project I'm getting following warning:

MyBundle.wxs(111,0): warning LGHT1129: The RollbackBoundary 'rba6ABCDA022AB9852FA39D23549E335DF4' was discarded because it was not followed by a package. Without a package the rollback boundary doesn't do anything. Verify that the RollbackBoundary element is not followed by another RollbackBoundary and that the element is not at the end of the chain.

And here is my chain:

<Chain>
  <PackageGroupRef Id         = "NetFx451Redist"  />
  <PackageGroupRef Id         = "VC_ReDist_120" After="NetFx451Redist"   />

  <RollbackBoundary />
  <MsiPackage      Id         = "MainProduct"
                   DisplayName             = "$(var.ProductName)"
                   DisplayInternalUI       = "no"
                   Visible                 = "no"
                   Compressed              = "yes"
                   SourceFile              = "$(var.MainProduct)"
                   Vital                   = "yes"
                   After                   = "NetFx451Redist"
                   InstallCondition="NETFRAMEWORK45 >= $(var.NetFx451MinRelease)">
    <MsiProperty
        Name                  = "DIR_PROGFILES_64_VA"
        Value                 = "[DestinationDir]"/>
  </MsiPackage>

*Question:* So what's wrong with this RollbackBoundary here?

Thanks

Farrukh

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list