[wix-users] Run Burn Boostrapper or the MBA Elevated

Sean Hall r.sean.hall at gmail.com
Thu Jul 14 15:02:54 PDT 2016


The old bootstrapper is a bundle that's already installed, right?  So it
should be in the package cache, which is a secure location for
ApprovedExeForElevation.  I'm not saying that it's not a pain to do it this
way, but it is possible to manually launch the old bootstrapper elevated
without showing multiple UAC prompts.

<ApprovedExeForElevation Id="PreviousVersion"
Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{PREV-BUNDLE-ID}"
Value="BundleCachePath" />

Engine.LaunchApprovedExe(hWnd, L"PreviousVersion", L"/repair", 0)

On Thu, Jul 14, 2016 at 4:28 PM, Rob Mensching <rob at firegiant.com> wrote:

> Yeah, you're not going to get that to work as is. But it might be a nice
> thing to improve *in* Burn. Burn already repairs related bundles in other
> scenarios. Might be interesting to enhance for upgrade rollback.
>
> _____________________________________________________________
>  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 Huy Doan
> Sent: Thursday, July 14, 2016 1:57 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: Re: [wix-users] Run Burn Boostrapper or the MBA Elevated
>
> I understand and Rob Mensching has had similar answers to many of these
> questions.
>
> The problem I am encountering is when I do an upgrade, I hit cancel and
> everything rolls back. Then I launch the old bootstrapper silently to
> repair to make sure that the system is stable after a fail upgrade. The old
> bootstrapper at launching asks to be elevated one more time and I don't
> want the UAC prompt to appear in this scenario. Therefore I have tried to
> elevate the BA or the bootstrapper so when the BA launch the old
> bootstrapper, the prompt will not appear.
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list