This might be of use to someone wanting to compare Wine IE gecko rendering to IE6 without having to use a bigger hack like ies4linux. I am sending here rather than privately to Dan as I don't expect it to be merged to winetricks mainline
Changelog: Add ie6 verb and support IE6
<rant> I doubt Dan will merge it (no disrespect intended, I am not trying to single him out) because it might be viewed as 'lacking sense taste' whatever that is supposed to mean, see
http://www.winehq.org/pipermail/wine-devel/2008-July/067109.html
regarding a script for Media player and codecs. I don't see what could be poor taste if Wine is going to have to reimplement this stuff anyway, to provide support for it in winetricks so developers can compare native verses builtin. All the better if some users find it of use too. I would see something like Office being added as crossing the line Dan has drawn for winetricks being a developer tool rather than a user tool but that is not really my point in any case.
We've been accused in private by other that Bordeaux will not, or does not contribut back to Wine, leeches off of Winehq in a Transgaming like style, etc. Even though 90% of my patches and ideas (however small they are) have been rejected and even with IE being a nice part of the revenue stream, I've decide to give the hack back in all of its glory. We are committed to maintain NO "proprietary advantages" and seeing everything that runs on Bordeaux work out of the box on the next Wine stable release. We don't have the development staff or funding yet to fully ramp up and be as active as we would like to be but here is another token of our commitment. </rant>
On Mo, 2008-08-18 at 13:11 -0400, Steven Edwards wrote:
+load_ie6() {
Nice Idea.
- # Installing Core Fonts"
- load_corefonts
Which Font is required (please fill bug reports) Which Font is optional?
- # Installing Richedit 2.0 Library"
- load_riched20
What is needed in the builtin version? Please fill bug reports.
- # Installing Richedit 3.0 Library"
- load_riched30
- # Installing Microsoft Line Services"
- load_msls31
Hm. Not present in Wine yet.
- # Change the override to the native so we are sure we use and
register them
- override_dlls native,builtin
itircl itss mlang msimtf riched20 riched32 shdoclc shlwapi urlmon
Do you need the override for Installation or for running IE6? What is needed in the builtin versions? Please fill bug reports.
- # Remove the fake dlls from the existing WINEPREFIX
- mv $WINEPREFIX/drive_c/"Program Files"/"Internet
Explorer"/iexplore.exe $WINEPREFIX/drive_c/"Program Files"/"Internet Explorer"/iexplore.exe.bak
That's wrong for every Language != english. What you need is already there: "$programfilesdir_unix"
- # Work around DLL registration bug
- cd $WINEPREFIX/drive_c/windows/system32/
- for i in *.dll *.ocx; do regsvr32 /i $i; done
Which dll/ocx need this? Is this a Wine bug (please fill bug reports) or an IE bug? For most files in this directory, your code is wrong. Your code depends on the case of the extensions.
On Sat, Aug 23, 2008 at 11:02 AM, Detlef Riekenberg wine.dev@web.de wrote:
Nice Idea.
Thanks, Dan has said he agrees with it from a development perspective and ies4linux already lets enough people do it for free so adding it to winetricks should not hurt major corporate contributors like CodeWeavers too much. He just wants me to strip it down and clean it up as you suggested and I am working on it. I just have a few other minor projects to finish out first and hope to get back to it in a week or two.
- # Installing Core Fonts"
- load_corefonts
Which Font is required (please fill bug reports) Which Font is optional?
I believe they are all optional. It just looks like crap rendering a lot of sites without them. I'll remove them and leave it up to someone else to submit patches and bug reports regarding them.
- # Installing Richedit 2.0 Library"
- load_riched20
What is needed in the builtin version? Please fill bug reports.
I don't recall now, I'll retest.
- # Installing Richedit 3.0 Library"
- load_riched30
- # Installing Microsoft Line Services"
- load_msls31
Hm. Not present in Wine yet.
And totally undocumented save a few obscure references to Unicode text rendering of certain Asian locale symbols and equations I found in the richedit specs. Also I don't think its really needed, I suspect if a third party would reverse and document it for us, we could get by on just stubbing and returning something sane...unless your trying to rendering some sort of Japanesse math problem rather than standard numbering.
- # Change the override to the native so we are sure we use and
register them
- override_dlls native,builtin
itircl itss mlang msimtf riched20 riched32 shdoclc shlwapi urlmon
Do you need the override for Installation or for running IE6? What is needed in the builtin versions? Please fill bug reports.
I think I can strip this down also.
- # Remove the fake dlls from the existing WINEPREFIX
- mv $WINEPREFIX/drive_c/"Program Files"/"Internet
Explorer"/iexplore.exe $WINEPREFIX/drive_c/"Program Files"/"Internet Explorer"/iexplore.exe.bak
That's wrong for every Language != english. What you need is already there: "$programfilesdir_unix"
Great! I'll do that
- # Work around DLL registration bug
- cd $WINEPREFIX/drive_c/windows/system32/
- for i in *.dll *.ocx; do regsvr32 /i $i; done
Which dll/ocx need this? Is this a Wine bug (please fill bug reports) or an IE bug?
I think its both. There needs to be a way to trigger a fake reboot so IE can register its dlls but I don't think they are getting added to the RunOnce key. I'll need to look in to this a bit more also. For siome reason wineboot was not working for me and I just ripped the solution that appdb had.
For most files in this directory, your code is wrong. Your code depends on the case of the extensions.
Hmm what would be the proper command line? I am not that great at shell scripting and just ripped that example out of appdb.