зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
a6dd4f86f0
Коммит
cbc6916a7c
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче