fixing bug 100822 - Shut down running browsers after download. r=curt sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@120357 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2826,6 +2826,9 @@ void DlgSequenceNext()
|
||||
* appropriate Windows registry keys */
|
||||
SetTurboArgs();
|
||||
|
||||
if(gbDownloadTriggered || gbPreviousUnfinishedDownload)
|
||||
SetSetupState(SETUP_STATE_UNPACK_XPCOM);
|
||||
|
||||
/* POST_DOWNLOAD process file manipulation functions */
|
||||
ProcessFileOpsForAll(T_POST_DOWNLOAD);
|
||||
/* PRE_XPCOM process file manipulation functions */
|
||||
@@ -2842,6 +2845,9 @@ void DlgSequenceNext()
|
||||
break;
|
||||
}
|
||||
|
||||
if(gbDownloadTriggered || gbPreviousUnfinishedDownload)
|
||||
SetSetupState(SETUP_STATE_INSTALL_XPI); // clears and sets new setup state
|
||||
|
||||
/* POST_XPCOM process file manipulation functions */
|
||||
ProcessFileOpsForAll(T_POST_XPCOM);
|
||||
/* PRE_SMARTUPDATE process file manipulation functions */
|
||||
@@ -2885,6 +2891,8 @@ void DlgSequenceNext()
|
||||
ProcessFileOpsForAll(T_POST_LAUNCHAPP);
|
||||
/* DEPEND_REBOOT process file manipulation functions */
|
||||
ProcessFileOpsForAll(T_DEPEND_REBOOT);
|
||||
|
||||
UnsetSetupState(); // clear setup state
|
||||
ClearWinRegUninstallFileDeletion();
|
||||
if(!gbIgnoreProgramFolderX)
|
||||
ProcessProgramFolderShowCmd();
|
||||
|
||||
Reference in New Issue
Block a user