b168139, Provide progress updates for external GRE app installers, r=curt, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@131574 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
6a7cda2ae1
commit
8e8bcd6e8a
@ -288,6 +288,7 @@ HRESULT SmartUpdateJars()
|
||||
{
|
||||
++dwCurrentArchive;
|
||||
UpdateGaugeArchiveProgressBar((unsigned)(((double)(dwCurrentArchive)/(double)dwTotalArchives)*(double)100));
|
||||
UpdateGREAppInstallerProgress((unsigned)(((double)(dwCurrentArchive)/(double)dwTotalArchives)*(double)100));
|
||||
}
|
||||
|
||||
wsprintf(szBuf, szStrInstalling, siCObject->szDescriptionShort);
|
||||
@ -317,6 +318,8 @@ HRESULT SmartUpdateJars()
|
||||
|
||||
++dwCurrentArchive;
|
||||
UpdateGaugeArchiveProgressBar((unsigned)(((double)(dwCurrentArchive)/(double)dwTotalArchives)*(double)100));
|
||||
UpdateGREAppInstallerProgress((unsigned)(((double)(dwCurrentArchive)/(double)dwTotalArchives)*(double)100));
|
||||
|
||||
ProcessWindowsMessages();
|
||||
LogISXPInstallComponentResult(hrResult);
|
||||
|
||||
@ -337,6 +340,8 @@ HRESULT SmartUpdateJars()
|
||||
siCObject = SiCNodeGetObject(dwIndex0, TRUE, AC_ALL);
|
||||
} /* while(siCObject) */
|
||||
|
||||
//report 100% progress status for successful installs
|
||||
UpdateGREAppInstallerProgress(100);
|
||||
LogMSXPInstallStatus(NULL, hrResult);
|
||||
pfnXpiExit();
|
||||
DeInitProgressDlg();
|
||||
@ -380,6 +385,8 @@ void cbXPIProgress(const char* msg, PRInt32 val, PRInt32 max)
|
||||
dlgInfo.nFileBars = 0;
|
||||
++dwCurrentArchive;
|
||||
UpdateGaugeArchiveProgressBar((unsigned)(((double)(dwCurrentArchive)/(double)dwTotalArchives)*(double)100));
|
||||
UpdateGREAppInstallerProgress((unsigned)(((double)(dwCurrentArchive)/(double)dwTotalArchives)*(double)100));
|
||||
|
||||
InvalidateBarberBarArea();
|
||||
bBarberBar = FALSE;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user