supplimental fix for bug #354226: while mail and calendar have a helper.exe

(the renamed uninst.exe), those versions of helper.exe do not contain support
for /postupdate, or the command line switch that does the all the registry
work and log copying.  only firefox's helper.exe has support for that.

r=rstrong.
This commit is contained in:
sspitzer%mozilla.org 2007-02-01 03:22:13 +00:00
Родитель fb391ac9cd
Коммит 9d08671f66
1 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -1189,11 +1189,17 @@ UpdateService.prototype = {
LOG("UpdateService", "_postUpdateProcessing: Install Succeeded, Showing UI");
prompter.showUpdateInstalled(update);
#ifdef MOZ_PHOENIX
// for now, this is firefox only.
// we need to fix both nsPostUpdateWin.js and
// the uninstaller to work for thunderbird and sunbird
//
// Perform platform-specific post-update processing.
if (POST_UPDATE_CONTRACTID in Components.classes) {
Components.classes[POST_UPDATE_CONTRACTID].
createInstance(Components.interfaces.nsIRunnable).run();
}
#endif
// Done with this update. Clean it up.
cleanupActiveUpdate(updRootKey);