[wix-users] How to copy downloaded packages to a directory in burn custom MBA
r.sean.hall at gmail.com
Tue Feb 9 14:11:46 PST 2021
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.
On Tue, Feb 9, 2021 at 3:57 PM David Huang via wix-users <
wix-users at lists.wixtoolset.org> wrote:
> That works well, except for a minor annoyance: I click the "Install"
> button, and the installer does the layout, then when it starts the actual
> install, it prompts for elevation. I think a lot of users will click
> Install, and if the elevation prompt doesn't show at that time, they'll
> walk away/do something else, only to come back to an elevation prompt.
> Is there a way to get it to request elevation before doing the layout
> (even though the layout itself doesn't need elevation)? I tried simply
> calling Engine.Elevate() before executing the layout if an install is going
> to happen afterwards, but it behaves strangely--when I click "Install", it
> requests elevation immediately, but doesn't actually do the layout (or
> anything else). I have to click "Install" again. I found a couple of
> mailing list posts about Engine.Elevate() saying it's difficult to use
> because there aren't any callbacks to report on what happened with the
> elevation, although it doesn't seem like that would explain the behavior
> I'm seeing. (E.g.
> Or perhaps I could install first, then layout...
> -----Original Message-----
> From: Rob Mensching <rob at firegiant.com>
> Sent: Sunday, February 7, 2021 11:36 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Cc: David Huang <dave at alterity.com>
> Subject: RE: How to copy downloaded packages to a directory in burn custom
> Add the checkbox, if checked plan a layout, execute the layout, then
> re-plan an install and execute that.
> WiX Toolset Users Mailing List provided by FireGiant
More information about the wix-users