Bug #240680 --> thunderbird installer needs to set the PathToExe entry in the windows registry upon installation

This commit is contained in:
scott%scott-macgregor.org 2004-04-16 22:22:45 +00:00
Родитель 16ab0f8901
Коммит 494608aa06
1 изменённых файлов: 8 добавлений и 0 удалений

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

@ -400,6 +400,14 @@ function registerMainKeys(winreg)
winreg.createKey(subkey,""); winreg.createKey(subkey,"");
err = winreg.setValueString(subkey, "Install Directory", fProgram); 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() function updateWinReg()