[wix-users] How to copy downloaded packages to a directory in burn custom MBA

David Huang dave at alterity.com
Tue Feb 9 15:25:10 PST 2021


Hmm, it doesn't seem to be working... the log says:

[0EE0:0E70][2021-02-09T17:19:19]i000: In OnElevate, about to plan Layout
[0EE0:0E70][2021-02-09T17:19:19]i010: Launching elevated engine process.
[0EE0:0E70][2021-02-09T17:19:24]i011: Launched elevated engine process.
[0EE0:0E70][2021-02-09T17:19:24]i012: Connected to elevated engine.

And my OnElevate looks like:

        private void OnElevate(object sender, ElevateEventArgs e)
        {
            Bootstrapper.Engine.Log(LogLevel.Standard, "In OnElevate, about to plan Layout");
            Bootstrapper.Engine.Plan(LaunchAction.Layout);
        }

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Sean Hall via wix-users
Sent: Tuesday, February 9, 2021 4:12 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Sean Hall <r.sean.hall at gmail.com>
Subject: Re: [wix-users] How to copy downloaded packages to a directory in burn custom MBA

v3 has the OnElevate callback before it shows the UAC prompt, I would expect you to be able to call Plan from there. If not, the log (in %TEMP%) might show something.




More information about the wix-users mailing list