[wix-users] Switching Bundle Runtime during Update
Stephen Downard
stephen.downard at medfusion.com
Tue May 24 08:17:16 PDT 2016
So within OnDetectComplete() in BaFunctions.dll I sucessfully download the update and then call the following.
m_pEngine->SetUpdate(NULL, updateExeFilePath.GetString(), size.QuadPart, BOOTSTRAPPER_UPDATE_HASH_TYPE_NONE, NULL, 0);
The updated executable does not get executed and the current active Bundle continues to install, why?
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Hoover, Jacob
Sent: Monday, May 23, 2016 3:18 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Switching Bundle Runtime during Update
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/
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list