[wix-users] Burn - Progress Reporting is 50% then 100%
Bob Arnson
bob at firegiant.com
Sat Jun 26 14:26:49 PDT 2021
Without an additional communication mechanism, Burn only knows that the .exe is running and eventually, when it's done. Burn supports two protocols to communicate progress: the .NET Framework redists and other Burn bundles.
-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Lewis, Adrian via wix-users
Sent: Saturday, 26 June, 2021 04:47
To: wix-users at lists.wixtoolset.org
Cc: Lewis, Adrian <Adrian.Lewis at mksinst.com>
Subject: [wix-users] Burn - Progress Reporting is 50% then 100%
Hi,
First time post, I have a custom managed bootstrapper application (Wix 3.11) for installing a number of 3rd party pre-requisites for our application and I'm hooked into the progress events. While the CacheAcquireProgress does report incrementally (this is quick for most packages a few seconds) the ExecuteProgress seems to jump to 50% then to 100% at the end. This is not too bad for small packages that install quickly but for larger packages that take a few minutes to install the user is left with no feedback, which sort of negates the purpose of having the progress.
Example from logfile when installing SQL Server Management Studio:
[5BA8:7254][2021-06-25T14:53:46]i000: EVENT: CacheAcquireProgress ({"PackageOrContainerId":"SSMS","PayloadId":"SSMS","Progress":9437184,"Total":937710528,"OverallPercentage":1,"Result":0})
....
[5BA8:7254][2021-06-25T14:53:47]i000: EVENT: CacheAcquireProgress ({"PackageOrContainerId":"SSMS","PayloadId":"SSMS","Progress":937426944,"Total":937710528,"OverallPercentage":99,"Result":0})
[5BA8:7254][2021-06-25T14:53:47]i000: EVENT: CacheAcquireProgress ({"PackageOrContainerId":"SSMS","PayloadId":"SSMS","Progress":937710528,"Total":937710528,"OverallPercentage":100,"Result":0})
5BA8:7254][2021-06-25T14:53:47]i000: Setting string variable 'WixBundleLastUsedSource' to value 'D:\TfsSource\TWRGAPhase9.2\source\Installers\PreReqsBootstrapper\BootstrapperSetup\bin\Debug\'
[1C44:55F8][2021-06-25T14:53:49]i305: Verified acquired payload: SSMS at path: C:\ProgramData\Package Cache\.unverified\SSMS, moving to: C:\ProgramData\Package Cache\7E0D53F5A521C10BEB5866F670222FD2F86E6F67\Packages\SQLServer\SSMS_2016-Setup-ENU.exe.
[5BA8:7254][2021-06-25T14:53:49]i000: EVENT: CacheAcquireProgress ({"PackageOrContainerId":"SSMS","PayloadId":"SSMS","Progress":937710528,"Total":937710528,"OverallPercentage":100,"Result":0})
[5BA8:7254][2021-06-25T14:53:49]i000: EVENT: Progress ({"ProgressPercentage":50,"OverallPercentage":50,"Result":0})
[5BA8:0594][2021-06-25T14:53:59]i000: EVENT: ExecutePackageBegin ({"PackageId":"SSMS","ShouldExecute":true,"Result":0})
[5BA8:0594][2021-06-25T14:53:59]i000: EVENT: ExecuteProgress ({"PackageId":"SSMS","ProgressPercentage":0,"OverallPercentage":0,"Result":0})
[1C44:5E3C][2021-06-25T14:53:59]i301: Applying execute package: SSMS, action: Install, path: C:\ProgramData\Package Cache\7E0D53F5A521C10BEB5866F670222FD2F86E6F67\Packages\SQLServer\SSMS_2016-Setup-ENU.exe, arguments: '"C:\ProgramData\Package Cache\7E0D53F5A521C10BEB5866F670222FD2F86E6F67\Packages\SQLServer\SSMS_2016-Setup-ENU.exe" /install /passive'
[5BA8:0594][2021-06-25T14:54:02]i000: EVENT: ExecuteProgress ({"PackageId":"SSMS","ProgressPercentage":50,"OverallPercentage":50,"Result":0})
....
[5BA8:0594][2021-06-25T14:56:14]i000: EVENT: ExecuteProgress ({"PackageId":"SSMS","ProgressPercentage":50,"OverallPercentage":50,"Result":0})
[5BA8:0594][2021-06-25T14:56:15]i000: EVENT: ExecuteProgress ({"PackageId":"SSMS","ProgressPercentage":100,"OverallPercentage":100,"Result":0})
Is this expected behavior? I've tried it with difference packages and searched forums with no results. Any assistance is greatly appreciated.
Thanks
Adrian Lewis
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list