[wix-users] Patch not showing up in the 'View Installed updates' with Burn

Hoover, Jacob Jacob.Hoover at greenheck.com
Wed Mar 15 09:47:12 PDT 2017


I am not 100% certain on this (I don't use patch bundles), but just speaking from what would seem logical to me.  The RelatedBundle should be targeting another bundle, not a MSI.  Bundles are another layer of abstraction on top of what Windows Installer does, and they can contain multiple MSI's.  Your goal should be not to show the MSI in ARP, but rather to show the bundles with patch history.


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Steve De George
Sent: Wednesday, March 15, 2017 3:58 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Patch not showing up in the 'View Installed updates' with Burn

Thanks for you help Dave.


Maybe some of you can look at my Burn Bundle element and see if there is anything funny about it.


Note: The RelatedBundle id is the ProductUpgradeCode from the MsiPackage SourceFile


<Bundle Name="$(var.OutputFileName)" Version="$(var.ProductVersion)"
           Manufacturer="NextGen Software, Inc."
          UpgradeCode="BA74D6CD-75D7-460B-A805-E6EFA4B419F5">
      <RelatedBundle Id="BBB6FDE2-E216-4450-A7EB-8DD633CBB57F" Action="Patch"/>
      <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense" >
         <!--https://classicwixburntheme.codeplex.com/wikipage?title=Guide%201&referringTitle=Documentation-->
         <bal:WixStandardBootstrapperApplication
              LogoFile="Resources/banner.png"
              ThemeFile="Resources/ClassicTheme.xml"
              LocalizationFile="Resources/ClassicTheme.wxl"
              LicenseUrl=""/>
      </BootstrapperApplicationRef>
      <Chain>

         <PackageGroupRef Id="NetFx461Redist" />
         <PackageGroupRef Id="Qb12SdkRedist" />

         <MsiPackage SourceFile="$(var.MSIBuildPath)" DisplayInternalUI="yes" Visible="yes" Vital="yes" />
      </Chain>
   </Bundle>


Thanks again to all.

Steve De George - Pivotal Z / NextGen Software, Inc.
253-656-4061
www.pivotalz.com<http://www.pivotalz.com/>
www.nextgensoftware.com<http://www.nextgensoftware.com/>
________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of David Watson <dwatson at sdl.com>
Sent: Tuesday, March 14, 2017 3:06:31 AM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] Patch not showing up in the 'View Installed updates' with Burn

I don’t , I have multiple entries, you just need to name them carefully.

I understand that the idea is to make a patch bundle so that you can hide the MSIs and the patch bundle will update the main install bundle and be uninstallable and appear in updates. Last time I looked though I think wix something was missing from this scenario and I never got chance to investigate.

Maybe someone else uses patch bundles and can pitch in.

Dave


[http://dr0muzwhcp26z.cloudfront.net/static/corporate/SDL_emailLogo.png]<www.sdl.com/>
www.sdl.com<http://www.sdl.com>


SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us.

SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Steve De George
Sent: 14 March 2017 09:41
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Patch not showing up in the 'View Installed updates' with Burn

No problem.  :)


Your method did work. I can patch and it shows and I can rollback.
Problem now is 2 entries in the ARP list. One from Burn and one from the MSI.

So... How do I get rid of the double entry?

Thanks a bunch. The joy's of wix.  ;)


Steve De George - Pivotal Z / NextGen Software, Inc.
253-656-4061
http://webdefence.global.blackspider.com/urlwrap/?q=AXicY3Rm8FrCwHB9AQNDUU6lgUmiXnFRmV5uYmZOcn5eSVF-jl5yfi5DmZGrZZprqKOBobGJgTFDSnliSXF-nkNxCkQ6o6SkwEpfv7y8XK8gsyy_JDGnCizOwNA5hYEBADjbH_4&Z<http://webdefence.global.blackspider.com/urlwrap/?q=AXicY3Rm8FrCwHB9AQNDUU6lgUmiXnFRmV5uYmZOcn5eSVF-jl5yfi5DmZGrZZprqKOBobGJgTFDSnliSXF-nkNxCkQ6o6SkwEpfv7y8XK8gsyy_JDGnCiSuz8DA0DmFgQEAWTQgLQ&Z>
www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/>>
________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of David Watson <dwatson at sdl.com>
Sent: Monday, March 13, 2017 9:56:12 AM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] Patch not showing up in the 'View Installed updates' with Burn

Many apologies 😊, it was a lazy description on my part.

When you install from a bundle you have the option to hide or show each MSI individually in Add Remove Programs (ARP). If the msi is registered there any applied patches appear in the (show updates) section.

The default option for a bundle is to hide the MSIs - See @Visible in the MSIPackage element. http://wixtoolset.org/documentation/manual/v3/xsd/wix/msipackage.html

Dave


[http://dr0muzwhcp26z.cloudfront.net/static/corporate/SDL_emailLogo.png]<www.sdl.com/>
www.sdl.com<http://www.sdl.com>


SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us.

SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Steve De George
Sent: 13 March 2017 16:29
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Patch not showing up in the 'View Installed updates' with Burn

Dave.

I have 15 years INNO experience and 30 days wix.

"Are you hiding the MSI entry in ARP and just relying on the bundle entry"

I have no idea what that means. End of my day but if you could point me in the right direction?


Tyler

"So just to clarify, you had an msi and you could rev the version then create a patch (msp). When you installed the msi and then applied the msp you could see the msp in the installed updates and uninstall it to drop your product back down to the base version.
Next you bundled your msi into a bootstrapper.
Now when you install the bundle and then run the patch against it, it updates but you don't see the patch in the installed updates screen?"


This is correct.


"If that is all correct, and those are the only changes you made, are you including the base version of the msi in your bundle or are you using the updated version? You want to be using the base version only since having the updated version in there will bring you right to the updated version and you won't end up applying a "patch"."


A little confused here. This is the script I use to create the patch.

Note: baseline\tmp\i2xInstallerQB.wixpdb is the original MSI, lets call it 6.15.0 with no changes.

Note: patched_ver\tmp\i2xInstallerQB.wixpdb is the MSI with changes - 6.15.1

No Burn here at all. Just the MSI's


"%WIX%bin\torch.exe" -p -xi "baseline\tmp\i2xInstallerQB.wixpdb" "patched_ver\tmp\i2xInstallerQB.wixpdb" -out Patch.wixmst "%WIX%bin\candle.exe" Patch.wxs "%WIX%bin\light.exe" Patch.wixobj -out Patch.wixmsp "%WIX%bin\pyro.exe" Patch.wixmsp -out Patch.msp -t RTM Patch.wixmst

This is going to end up being something stupid. LOL

Thanks all.



Steve De George - Pivotal Z / NextGen Software, Inc.
253-656-4061
http://webdefence.global.blackspider.com/urlwrap/?q=AXicY2Rm8FrCwHB9AQNDUU6lgWWiXnFRmV5uYmZOcn5eSVF-jl5yfi5DmZGLe4hJqoGBiZGhkSlDSnliSXF-nkNxCkQ6o6SkwEpfv7y8XK8gsyy_JDGnCizOwNA5hYEBAB2lH68&Z<http://webdefence.global.blackspider.com/urlwrap/?q=AXicY2Rm8FrCwHB9AQNDUU6lgWWiXnFRmV5uYmZOcn5eSVF-jl5yfi5DmZGLe4hJqoGBiZGhkSlDSnliSXF-nkNxCkQ6o6SkwEpfv7y8XK8gsyy_JDGnCiSuz8DA0DmFgQEAPa8f3g&Z>
www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/>>>
________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of David Watson <dwatson at sdl.com>
Sent: Monday, March 13, 2017 8:03:45 AM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] Patch not showing up in the 'View Installed updates' with Burn

Are you hiding the MSI entry in ARP and just relying on the bundle entry?

If so the update will not be visible, the patch is updating the registration for the updated MSI not for the bundle.

Dave


[http://dr0muzwhcp26z.cloudfront.net/static/corporate/SDL_emailLogo.png]<www.sdl.com/>
www.sdl.com<http://www.sdl.com>


SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us.

SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Tyler Gustafson
Sent: 13 March 2017 14:18
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Patch not showing up in the 'View Installed updates' with Burn

So just to clarify, you had an msi and you could rev the version then create a patch (msp). When you installed the msi and then applied the msp you could see the msp in the installed updates and uninstall it to drop your product back down to the base version.
Next you bundled your msi into a bootstrapper.
Now when you install the bundle and then run the patch against it, it updates but you don't see the patch in the installed updates screen?

If that is all correct, and those are the only changes you made, are you including the base version of the msi in your bundle or are you using the updated version? You want to be using the base version only since having the updated version in there will bring you right to the updated version and you won't end up applying a "patch".

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Steve De George
Sent: March-13-17 5:36 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Patch not showing up in the 'View Installed updates' with Burn


The MSI is in the bootstrapper.

I then just use the admin command line to install the patch. msiexec /p Patch.msp /passive


Steve De George - Pivotal Z / NextGen Software, Inc.
253-656-4061
http://webdefence.global.blackspider.com/urlwrap/?q=AXicY2Rm8FrCwHB9AQNDUU6liXGSXnFRmV5uYmZOcn5eSVF-jl5yfi5DmZGLq6eRX7KBsZGJmQFDSnliSXF-nkNxCkQ6o6SkwEpfv7y8XK8gsyy_JDGnCizOwNA5hYEBACAEH7w&Z<http://webdefence.global.blackspider.com/urlwrap/?q=AXicY2Rm8FrCwHB9AQNDUU6liXGSXnFRmV5uYmZOcn5eSVF-jl5yfi5DmZGLq6eRX7KBsZGJmQFDSnliSXF-nkNxCkQ6o6SkwEpfv7y8XK8gsyy_JDGnCiSuz8DA0DmFgQEAQBsf6w&Z>
www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/>>>>
________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Tyler Gustafson <tgustafson at solacom.com>
Sent: Friday, March 10, 2017 6:40:23 AM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] Patch not showing up in the 'View Installed updates' with Burn

Are you using an msp or an msi inside your bootstrapper? As I understand it, only upgrades applied with msp show up in the view installed updates screen.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Steve De George
Sent: March-09-17 9:37 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Patch not showing up in the 'View Installed updates' with Burn


Hi all.


I have an existing MSI that was patching and rolling back fine. I have started a new burn project and added my MSI and all is well except they do not show in 'View Installed updates' on the Program and Features screen. Patching does work though.


I did notice there was an UpgradeCode in the Bundle.wxs. How does that effect upgrade codes in other products.


My patches are based off of the MSI and not the final bootstrapper. I think that is right or as I am writing this...  do I have to patch against the Bootstrapper?


Any help would be appreciated.

Thanks!



Steve De George - Pivotal Z / NextGen Software, Inc.
253-656-4061
http://webdefence.global.blackspider.com/urlwrap/?q=AXicY2Rm8FrCwHB9AQNDUU6liXGSXnFRmV5uYmZOcn5eSVF-jl5yfi5DmZGLq6eRX7KBsZGJmQFDSnliSXF-nkNxCkQ6o6SkwEpfv7y8XK8gsyy_JDGnCizOwNA5hYEBACAEH7w&Z<http://webdefence.global.blackspider.com/urlwrap/?q=AXicY2Rm8FrCwHB9AQNDUU6liXGSXnFRmV5uYmZOcn5eSVF-jl5yfi5DmZGLq6eRX7KBsZGJmQFDSnliSXF-nkNxCkQ6o6SkwEpfv7y8XK8gsyy_JDGnCiSuz8DA0DmFgQEAQBsf6w&Z>
www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/<http://www.nextgensoftware.com<http://www.nextgensoftware.com/>>>>>

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

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

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

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


This message has been scanned for malware by Websense. www.websense.com<http://www.websense.com>

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

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

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

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

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

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


More information about the wix-users mailing list