[wix-users] How to terminate an Update?

Hoover, Jacob Jacob.Hoover at greenheck.com
Mon Jun 13 08:05:42 PDT 2016


Custom BA or?

I would assume this is because you are using a bundle with embedded payload, in which case I would expect OnCacheAcquireProgress to be called (where you could return IDCANCEL).

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Stephen Downard
Sent: Monday, June 13, 2016 9:53 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: [wix-users] How to terminate an Update?

How can the engine be notified to terminate an update if end-user cancels while the update is being downloaded?  Currently, the engine will proceed to execute the updated Bundle.
I have tried setting m_pEngine->SetUpdate(NULL, NULL, 0, BOOTSTRAPPER_UPDATE_HASH_TYPE_NONE, NULL, 0);

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


More information about the wix-users mailing list