fixing bug 59239 - ActiveX control is not registered by installer. r=sgehani sr=dveditz does not affect tinderbox. affects only windows platforms

This commit is contained in:
ssu%netscape.com 2001-05-17 22:36:06 +00:00
Родитель 54764034f3
Коммит b4181709dd
1 изменённых файлов: 6 добавлений и 0 удалений

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

@ -222,10 +222,12 @@ function updateWinReg()
// main
var srDest;
var err;
var err2;
var fProgram;
var fWindowsSystem;
var fileComponentRegStr;
var fileComponentReg;
var fileMozCtlx;
$Ren8dot3List$
@ -254,6 +256,10 @@ if(verifyDiskSpace(fProgram, srDest))
// check return value
if( err == SUCCESS )
{
fileMozCtlx = getFolder(fProgram, "mozctlx.dll");
err2 = File.windowsRegisterServer(fileMozCtlx);
logComment("windowsRegisterServer() returned: " + err2);
updateWinReg();
createShortcuts();
// we don't want to fail on errors for the above two