http://bugs.winehq.org/show_bug.cgi?id=29078
Bug #: 29078 Summary: Runtime Error: Wine + Chromium + npactivex Product: Wine Version: 1.3.32 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: fracting@gmail.com Classification: Unclassified
1. Download chromium mini_installer from: http://commondatastorage.googleapis.com/chromium-browser-continuous/Win/1098...
install Chromium: $ wine Wine/chrome-installer/mini_installer-109801-20111112-02a25d3c293bc836c233e6a12ff57673.exe
2. Install np-activex to Wine chromium: Bug 29075 and Bug 27248 will prevent installing chrome apps directly from app store to Wine chromium. To workaround this, one can use developers mode: * Download np-activex from https://clients2.googleusercontent.com/crx/download/OAAAAK8kxCAvzc4RdlgO-6Fu...
* rename extension_1_3_7.crx to extension_1_3_7.zip
* unzip extension_1_3_7.zip to a directory (let's name it np-activex/ )
* load np-activex/ with developers mode in 'chrome://extensions'
3. Download and install activex plugin for icbc: $ wget http://www.icbc.com.cn/icbc/html/download/dkq/icbc_netbank_client_controls.e... $ winetricks -q mfc42 $ wine icbc_netbank_client_controls.exe
4. edit option for np-activex to allow ActiveX plugin for https://*.icbc.com.cn/* * go to "chrome://extensions" -> "ActiveX for Chrome" -> "options" * paste "https://*.icbc.com.cn/*" (without '"') into the form
5. open Wine chromium *with --no-sandbox* (to workaround bug 21232) $ cd ~/".wine/drive_c/users/fracting/Local Settings/Application Data/Chromium/Application" $ wine chrome.exe --no-sandbox https://mybank.icbc.com.cn/icbc/enperbank/index.jsp
6. type username, password and verify code into the forms. We don't need real username and password to reproduce this bug: username: 1234 password: 1234
then an error says: " Runtime Error!
Program: C:\users\fracting\Loca...
This application has requested the Runtime to terminate it in an unusual way. Please contact to the application's support team for more information. "
----- snip ----- * if you have a real username and account, after the above error, you can successfully login to the icbc online bank. But some area will failed to display. Not sure whether there is connection to this bug * replace chromium 109801 to chromium 93041 can avoid this bug