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:
ssu%netscape.com 2003-03-13 03:10:13 +00:00
Родитель 312563ebcc
Коммит 187236f287
1 изменённых файлов: 4 добавлений и 2 удалений

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

@ -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);
} }