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
parent dd1b7beb79
commit 7adfb5f2fe

View File

@ -2351,16 +2351,18 @@ HRESULT ProcessGre(greInfo *aGre)
* during uninstall. */
if(sgProduct.greType == GRE_LOCAL)
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,
sgProduct.szProductNameInternal,
sgProduct.szUserAgent,
aGre->userAgent,
sgProduct.grePrivateKey);
else
wsprintf(greUninstallCommand,
"\"%s\" -mmi -ms -app %s -ua \"%s\"",
"\"%s\" -mmi -ms -app \"%s %s\" -ua \"%s\"",
aGre->uninstallerAppPath,
sgProduct.szProductNameInternal,
sgProduct.szUserAgent,
aGre->userAgent);
UpdateInstallLog(KEY_UNINSTALL_COMMAND, greUninstallCommand, DNU_UNINSTALL);
}