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
parent 0c13062832
commit fe50881e81

View File

@ -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