[wix-users] WiX burn bootstrapper update process launches new UIs

Mayooran Macilamany mayooran99 at gmail.com
Tue Jul 12 00:40:19 PDT 2016


So I followed the same steps as shown in ProgressViewModel class in WiXBA
project. But when there is an error occurring the pre-requisites, the
progress percentage doesn't reach 100. It stops in the middle at 75 or 80.
In the bundle I've set the vital element of the pre-requisite to no. Below
are the errors that are reflecting in the progress percentage.

[75DC:81CC][2016-07-12T13:01:57]i301: Applying execute package:
VC_2010_Redistributable, action: Install, path: C:\ProgramData\Package
Cache\372D9C1670343D3FB252209BA210D4DC4D67D358\vcredist_x86_2010.exe,
arguments: '"C:\ProgramData\Package
Cache\372D9C1670343D3FB252209BA210D4DC4D67D358\vcredist_x86_2010.exe"
/quiet /norestart'
[75DC:81CC][2016-07-12T13:02:00]e000: Error 0x800713ec: Process returned
error: 0x13ec
[75DC:81CC][2016-07-12T13:02:00]e000: Error 0x800713ec: Failed to execute
EXE package.
[7F90:83A4][2016-07-12T13:02:00]e000: Error 0x800713ec: Failed to configure
per-machine EXE package.
[7F90:83A4][2016-07-12T13:02:00]i000: ExecutePackageComplete status is
-2147019796
[7F90:83A4][2016-07-12T13:02:00]w350: Applied non-vital package:
VC_2010_Redistributable, encountered error: 0x800713ec. Continuing...
[75DC:81CC][2016-07-12T13:02:00]i301: Applying execute package:
VC_2013_Redistributable, action: Install, path: C:\ProgramData\Package
Cache\DF7F0A73BFA077E483E51BFB97F5E2ECEEDFB6A3\vcredist_x86_2012.exe,
arguments: '"C:\ProgramData\Package
Cache\DF7F0A73BFA077E483E51BFB97F5E2ECEEDFB6A3\vcredist_x86_2012.exe" /q
/norestart -burn.ancestors={47803a15-3be7-41e6-8a7a-02599b7afdae}'
[7F90:83A4][2016-07-12T13:02:02]i000: ExecutePackageComplete status is 0
[7F90:83A4][2016-07-12T13:02:02]i319: Applied execute package:
VC_2013_Redistributable, result: 0x0, restart: None
[75DC:81CC][2016-07-12T13:02:02]i301: Applying execute package: Netfx45,
action: Install, path: C:\ProgramData\Package
Cache\5934DD101414BBC0B7F1EE2780D2FC8B9BEC5C4D\dotNet4.5Installer.exe,
arguments: '"C:\ProgramData\Package
Cache\5934DD101414BBC0B7F1EE2780D2FC8B9BEC5C4D\dotNet4.5Installer.exe" /q
/norestart'
[75DC:81CC][2016-07-12T13:03:16]e000: Error 0x80070009: Process returned
error: 0x9
[75DC:81CC][2016-07-12T13:03:16]e000: Error 0x80070009: Failed to execute
EXE package.
[7F90:83A4][2016-07-12T13:03:16]e000: Error 0x80070009: Failed to configure
per-machine EXE package.
[7F90:83A4][2016-07-12T13:03:16]i000: ExecutePackageComplete status is
-2147024887

Please advice on how to handle this scenario.

On Mon, Jul 11, 2016 at 9:49 PM, Huy Doan <hdoan at vmware.com> wrote:

> That sounds strange to me because I have never encountered such a problem
> with my progress bar.
>
> How do you get the progress for the progress bar? I would strongly
> recommend you to take a look at the Wix source code (src\burn -> WixBA) and
> you will find the full detail in the ProgressViewModel.
>
> This is the link the the github for your convenience
>
> https://github.com/wixtoolset/wix3/blob/develop/src/Setup/WixBA/ProgressViewModel.cs
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Mayooran Macilamany
> Sent: Sunday, July 10, 2016 5:57 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: [wix-users] WiX burn bootstrapper update process launches new UIs
>
> I have created this bootstrapper application in which I have set the
> progress percentage to 100% and exit button text to "Close" when the
> ApplyComplete event is triggered. This works fine when installing and
> uninstalling. But when updating and repairing, this ApplyComplete method is
> triggered multiple times. This is because new installer UIs are launched
> during the process of updating and repairing. Probably because its
> uninstalling and installing? If so how can I stop this from happening? I
> want the progress bar to reach 100% only once. For this ApplyComplete
> method should be triggered only once. Any help would be much appreciated.
>
> Thanks and regards,
>
> Mayooran.
>
> ____________________________________________________________________
> 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=7k_HORjB3IwaVonosE8g25OJNBj6jZKHfAhFMjFyq-g&s=jZPSyt3uBRACR1fbfLM9lnCigrJpXcxRKyw-nz-oBVE&e=
>


More information about the wix-users mailing list