fixing bug 77244 - Installers need to create Win32 Reg. key schema that Gecko Embedding browsers can follow. r=sgehani, sr=mscott, a=drivers. not part of tinderbox builds. affects only windows platforms

This commit is contained in:
ssu%netscape.com 2001-06-26 21:07:17 +00:00
Родитель a6dd4f86f0
Коммит cbc6916a7c
1 изменённых файлов: 7 добавлений и 0 удалений

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

@ -243,6 +243,13 @@ function registerMainKeys(winreg)
value = fProgram + "Plugins";
err = winreg.setValueString(subkey, valname, value);
subkey = "SOFTWARE\\Mozilla\\$ProductName$ $UserAgentShort$\\bin";
winreg.createKey(subkey,"");
valname = "PathToExe";
value = fProgram + "$MainExeFile$";
err = winreg.setValueString(subkey, valname, value);
// We need to set HKEY...\Software\Mozilla\Seamonkey\[ua]\Main
// because Sun's Java installer keys off of this key to locate mozilla's
// installation directory and populate it with java plugins.