зеркало из https://github.com/mozilla/gecko-dev.git
Bug #240680 --> thunderbird installer needs to set the PathToExe entry in the windows registry upon installation
This commit is contained in:
Родитель
16ab0f8901
Коммит
494608aa06
|
@ -400,6 +400,14 @@ function registerMainKeys(winreg)
|
|||
winreg.createKey(subkey,"");
|
||||
|
||||
err = winreg.setValueString(subkey, "Install Directory", fProgram);
|
||||
|
||||
// now set Mozilla\Mozilla Thunderbird\bin\PathToExe so 3rd party vendors can find our app
|
||||
subkey = "SOFTWARE\\Mozilla\\$ProductName$ $UserAgentShort$\\bin";
|
||||
winreg.createKey(subkey,"");
|
||||
err = winreg.setValueString(subkey, "PathToExe", fProgram + "$MainExeFile$");
|
||||
|
||||
subkey = "SOFTWARE\\$CompanyName$\\$ProductName$\\$UserAgent$\\Main";
|
||||
err = winreg.setValueString(subkey, "PathToExe", fProgram + "$MainExeFile$");
|
||||
}
|
||||
|
||||
function updateWinReg()
|
||||
|
|
Загрузка…
Ссылка в новой задаче