зеркало из https://github.com/mozilla/pjs.git
this is another addendem to bug 190389 - GRE installer needs to use new version key format. this patch fixes an uninstall regression bug. r=sgehani
This commit is contained in:
Родитель
312563ebcc
Коммит
187236f287
|
@ -2351,16 +2351,18 @@ HRESULT ProcessGre(greInfo *aGre)
|
||||||
* during uninstall. */
|
* during uninstall. */
|
||||||
if(sgProduct.greType == GRE_LOCAL)
|
if(sgProduct.greType == GRE_LOCAL)
|
||||||
wsprintf(greUninstallCommand,
|
wsprintf(greUninstallCommand,
|
||||||
"\"%s\" -mmi -ms -app %s -ua \"%s\" -reg_path %s",
|
"\"%s\" -mmi -ms -app \"%s %s\" -ua \"%s\" -reg_path %s",
|
||||||
aGre->uninstallerAppPath,
|
aGre->uninstallerAppPath,
|
||||||
sgProduct.szProductNameInternal,
|
sgProduct.szProductNameInternal,
|
||||||
|
sgProduct.szUserAgent,
|
||||||
aGre->userAgent,
|
aGre->userAgent,
|
||||||
sgProduct.grePrivateKey);
|
sgProduct.grePrivateKey);
|
||||||
else
|
else
|
||||||
wsprintf(greUninstallCommand,
|
wsprintf(greUninstallCommand,
|
||||||
"\"%s\" -mmi -ms -app %s -ua \"%s\"",
|
"\"%s\" -mmi -ms -app \"%s %s\" -ua \"%s\"",
|
||||||
aGre->uninstallerAppPath,
|
aGre->uninstallerAppPath,
|
||||||
sgProduct.szProductNameInternal,
|
sgProduct.szProductNameInternal,
|
||||||
|
sgProduct.szUserAgent,
|
||||||
aGre->userAgent);
|
aGre->userAgent);
|
||||||
UpdateInstallLog(KEY_UNINSTALL_COMMAND, greUninstallCommand, DNU_UNINSTALL);
|
UpdateInstallLog(KEY_UNINSTALL_COMMAND, greUninstallCommand, DNU_UNINSTALL);
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче