It is a it of copy an paste. I hope the instructions are clear, if not ask.
1. Create Reg-Entrie:
[code][HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\thunderbird.exe]
@="C:\\Program Files\\Mozilla Thunderbird\\thunderbird.bat"
"Path"="C:\\Program Files\\Mozilla Thunderbird"[/code]
2. create the Folder “Mozilla Thunderbird”
3. create in this folder the file thunderbird.bat
4. open thunderbird.bat and paste [code]/usr/lib/thunderbird/thunderbird.sh %1 %2[/code]
5. create a symbolic-link as usual in Application Data in wine to /.thunderbird and name it Thunderbird
6. install the MyPhoneExplorer-Addon in Thunderbird
7. create the File extensions.rdf in your thunderbird-Profile-Folder and paste:
[code]<?xml version="1.0"?>
<RDF:RDF xmlns:NS1="
http://www.mozilla.org/2004/em-rdf#"
xmlns:NC="
http://home.netscape.com/NC-rdf#"
xmlns:RDF="
http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<RDF:Seq RDF:about="urn:mozilla:item:root">
<RDF:li RDF:resource="urn:mozilla:item:
de-DE@dictionaries.addons.mozilla.org"/>
<RDF:li RDF:resource="urn:mozilla:item:{972ce4c6-7e08-4474-a285-3208198ce6fd}"/>
<RDF:li RDF:resource="urn:mozilla:item:{e2fda1a4-762b-4020-b5ad-a41df1933103}"/>
<RDF:li RDF:resource="urn:mozilla:item:
myphoneexplorer@fjsoft.at"/>
</RDF:Seq>
<RDF:Description RDF:about="urn:mozilla:item:{e2fda1a4-762b-4020-b5ad-a41df1933103}"
NS1:installLocation="app-profile"
NS1:version="4.7.8"
NS1:optionsURL="chrome://messenger/content/preferences/preferences.xul"
NS1:iconURL="chrome://calendar/skin/cal-icon32.png"
NS1:name="Lightning"
NS1:description="An integrated calendar for Thunderbird"
NS1:creator="Mozilla Calendar Project"
NS1:homepageURL="
http://www.mozilla.org/projects/calendar/">
<NS1:type NC:parseType="Integer">2</NS1:type>
<NS1:targetApplication RDF:resource="rdf:#$GqnK52"/>
</RDF:Description>
<RDF:Description RDF:about="urn:mozilla:item:
myphoneexplorer@fjsoft.at"
NS1:installLocation="app-profile"
NS1:version="2.0.19"
NS1:optionsURL="chrome://myphoneexplorer/content/mpeOptions.xul"
NS1:iconURL="chrome://myphoneexplorer/skin/icon.png"
NS1:name="MyPhoneExplorer"
NS1:description="MyPhoneExplorer Synchronisation"
NS1:creator="F.J. Wechselberger, N. Pueschel"
NS1:homepageURL="
http://www.fjsoft.at/">
<NS1:type NC:parseType="Integer">2</NS1:type>
<NS1:targetApplication RDF:resource="rdf:#$GqnK52"/>
</RDF:Description>
<RDF:Description RDF:about="urn:mozilla:item:{972ce4c6-7e08-4474-a285-3208198ce6fd}"
NS1:installLocation="app-global"
NS1:version="3.1.11"
NS1:internalName="classic/1.0"
NS1:locked="true"
NS1:appManaged="true"
NS1:name="Thunderbird (default)"
NS1:description="The default theme"
NS1:creator="Arvid Axelsson"
NS1:contributor="Mozilla Contributors">
<NS1:type NC:parseType="Integer">4</NS1:type>
<NS1:targetApplication RDF:resource="rdf:#$5OIGm1"/>
</RDF:Description>
<RDF:Description RDF:about="urn:mozilla:item:
de-DE@dictionaries.addons.mozilla.org"
NS1:installLocation="app-profile"
NS1:version="2.0.2"
NS1:name="German Dictionary"
NS1:description="German dictionary (new Orthography) for spellchecking in Mozilla products. Using igerman98 dictionary version 20091006."
NS1:creator="Robert Kaiser, using igerman98 dictionary by Björn Jacke">
<NS1:type NC:parseType="Integer">2</NS1:type>
<NS1:localized RDF:resource="rdf:#$.7h6d1"/>
<NS1:targetApplication RDF:resource="rdf:#$+7h6d1"/>
<NS1:targetApplication RDF:resource="rdf:#$08h6d1"/>
<NS1:targetApplication RDF:resource="rdf:#$18h6d1"/>
<NS1:targetApplication RDF:resource="rdf:#$28h6d1"/>
<NS1:targetApplication RDF:resource="rdf:#$38h6d1"/>
</RDF:Description>
</RDF:RDF>[/code]
8. modify the mpe.js in thunderbird-Profile-Folder/extension/
myphoneexplorer@fjsoft.at/components
I changed only the RegRead and Run, just replace them:
[code]function RegRead(subkey,valuename)
{
Components.classes["@mozilla.org/net/osfileconstantsservice;1"].getService(Components.interfaces.nsIOSFileConstantsService).init();
var out = '';
var path = OS.Constants.Path.homeDir+'/.wine/user.reg';
var lines = ReadFile(path);
var reg = false;
var op;
subkey = subkey.split('\\').join('\\\\');
for (i = 1;lines.length > i;i++) {
if(lines[i].includes('['+subkey+']')){
reg=true;
}
if(lines[i]==''){
reg=false;
}
if(reg){
op = lines[i].substring(1,lines[i].indexOf('=')-1);
if(op==valuename){
out=lines[i].substring(lines[i].indexOf('=')+2,lines[i].length-1);
if(out.includes('\\')){ //anpassen des Pfade
out=out.replace('C:','drive_c');
out = out.split('\\\\').join('/');
out=OS.Constants.Path.homeDir+'/.wine/'+out;
}
return (out);
}
}
}
return (out);
}
and
Run: function(args)
{
var file = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile);
var process = Components.classes["@mozilla.org/process/util;1"].createInstance(Components.interfaces.nsIProcess);
var mypath = RegRead("Software\\MyPhoneExplorer", "PathToExe");
var path = "/usr/bin/wine"
if (path.length != 0) {
try
{
file.initWithPath(path);
process.init(file);
process.run(false, [mypath,args], 2);
return;
}
catch(ex)
{
Components.utils.reportError('Could not run ' + path + ex );
return;
}
}
Components.utils.reportError("Could not find MyPhoneExplorer.exe");
},[/code]
have fun