[wix-users] Run Burn Boostrapper or the MBA Elevated
Huy Doan
hdoan at vmware.com
Thu Jul 14 15:36:52 PDT 2016
I think that's something I'm looking for :D. I had an insight from Rob's hint but was not quite sure how to implement it. Your solution was something I pictured in mind. Thank you so much, Sean.
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Sean Hall
Sent: Thursday, July 14, 2016 3:03 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Run Burn Boostrapper or the MBA Elevated
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:
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_
> &d=CwICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=dIns6fQ--MkF
> JxuBFYmMeQ&m=mmTWVg5-Xmy1jIs8i6CjJydEiEROHU5MqXNhOdbnNjM&s=_t7SIqFkLds
> hJt3lccyNyofYJQRsCD-_I0_t6ejw9V0&e=
>
>
> -----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
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_
> &d=CwICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=dIns6fQ--MkF
> JxuBFYmMeQ&m=mmTWVg5-Xmy1jIs8i6CjJydEiEROHU5MqXNhOdbnNjM&s=_t7SIqFkLds
> hJt3lccyNyofYJQRsCD-_I0_t6ejw9V0&e=
>
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=CwICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=dIns6fQ--MkFJxuBFYmMeQ&m=mmTWVg5-Xmy1jIs8i6CjJydEiEROHU5MqXNhOdbnNjM&s=_t7SIqFkLdshJt3lccyNyofYJQRsCD-_I0_t6ejw9V0&e=
More information about the wix-users
mailing list