[wix-users] Switching Bundle Runtime during Update

Hoover, Jacob Jacob.Hoover at greenheck.com
Mon May 23 12:17:34 PDT 2016


https://github.com/wixtoolset/wix3/compare/develop...jchoover:develop-3.10-WixStdBA

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Stephen Downard
Sent: Monday, May 23, 2016 2:15 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Switching Bundle Runtime during Update

Thank you for the response.  Could you explain how you "inject a custom update on top of current WixStdBA"?

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Hoover, Jacob
Sent: Monday, May 23, 2016 3:01 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Switching Bundle Runtime during Update

I've never done it from a BA function, as I've always injected my custom update handling on top of the current WixStdBA.  

Since we do pass the engine to CreateBootstrapperBAFunction the BAF would have the engine pointer, however we don't have hooks for the OnDetectUpdate* events.  I'm guessing you could call it from OnDetectComplete.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Stephen Downard
Sent: Monday, May 23, 2016 10:50 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Switching Bundle Runtime during Update

How does this work within bafunctions.dll (hr = m_pEngine-->SetUpdate(...)?

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Hoover, Jacob
Sent: Friday, May 20, 2016 2:13 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Switching Bundle Runtime during Update

Engine.SetUpdate

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Stephen Downard
Sent: Friday, May 20, 2016 1:03 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Switching Bundle Runtime during Update

At runtime the BA detects a new version is available and downloads, how is the Burn Engine informed of the new bundle?  So, now the value of WixBundleOriginalSource is obsolete and the new downloaded Bundle needs to be executed.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Rob Mensching
Sent: Friday, May 20, 2016 1:54 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Switching Bundle Runtime during Update

What is a "Bundle Runtime"? The Burn engine?

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


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Stephen Downard
Sent: Friday, May 20, 2016 5:40 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: [wix-users] Switching Bundle Runtime during Update

What is the proper procedure for switching the Bundle runtime after an update is detected and downloaded?

Cheers,
Stephen Downard

____________________________________________________________________
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