https://bugs.winehq.org/show_bug.cgi?id=42086
Bug ID: 42086 Summary: IE6 Microsoft HTML Application Host (mshta.exe) doesn't function Product: Wine Version: 2.0-rc1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: jhansonxi@gmail.com Distribution: Ubuntu
Created attachment 56598 --> https://bugs.winehq.org/attachment.cgi?id=56598 TechNet HTA test
Xubuntu 14.04 x86_64, AMD Phenom 9550, Wine Staging Windows Version: Windows XP
Encountered this problem while investigating a workaround for bug #26463 affecting the CD game "18 Wheels Of Steel: Big City Rigs" (includes American Long Haul, Garbage Truck, and Bus Simulator).
Installed IE6 via winetricks 20161005 and set override for mshta.exe to native. Executing the installer fails to do anything:
wine reg.exe ADD HKCU\Software\Wine\DllOverrides /v "mshta.exe" /t REG_SZ /d "native,builtin" wine C:\windows\command\start.exe /d d:\ d:\autorun.exe Launch.hta
I verified the problem with two other tests - a basic "HTA Test" example script from TechNet (attached) and getdate, a simple date calculator from Rob van der Woude. https://technet.microsoft.com/en-us/library/ee692768.aspx http://www.robvanderwoude.com/files/getdate_hta.txt
HTA Test loads a window with a button to start the script but running the script results in an error "TestSub is undefined".
The getdate script generates an error "Object expected".
Tests performed on Wine with IE6 (6.00.2600.0000) and IE6 SP1 (6.0.2800.1106). Windows Script Host 5.6 and 5.7 used. IE 6 SP1 installed over IE6 (winetricks) using archive linked in the following post: http://www.msfn.org/board/topic/157628-we-cant-get-internet-explorer-6-servi...
Note that the version of mshta.exe always matches that of Internet Explorer. Testing other versions of IE6 in Wine is difficult due to the lack of standalone installers. Full version list: https://support.microsoft.com/en-us/kb/969393
Both tests work without problems in WinXP (6.0.2600.0000) and WinXP SP3 (6.0.2900.5512).