fixing bug 104275 - Cannot send message from Excel/PPoint97 using SimpleMAPI. r=curt, sr=dveditz. not part of tinderbox builds. affects windows platforms only
This commit is contained in:
Родитель
29c34fafbd
Коммит
0b2c624cb3
|
@ -189,6 +189,7 @@ function updateMapi()
|
|||
var sfpProgramMozMapi32File;
|
||||
var sfpMainExePath;
|
||||
var winsysMapi32File;
|
||||
var mapiProxyFile;
|
||||
|
||||
winreg = getWinRegistry();
|
||||
if(winreg != null)
|
||||
|
@ -243,6 +244,11 @@ function updateMapi()
|
|||
winreg.setValueString("SOFTWARE\\Clients\\Mail\\$ProductName$\\shell\\open\\command",
|
||||
"",
|
||||
sfpMainExePath + " -mail");
|
||||
|
||||
// Register MapiProxy.dll
|
||||
mapiProxyFile = getFolder("Program", "MapiProxy.dll");
|
||||
err = File.windowsRegisterServer(mapiProxyFile);
|
||||
logComment("File.windowsRegisterServer(" + mapiProxyFile + ") returned: " + err);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче