[Bug 35472] New: E-Transcript Bundle Viewer 6.x installer uses VBScript MsgBox function with optional arguments

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jan 29 06:49:29 CST 2014


https://bugs.winehq.org/show_bug.cgi?id=35472

            Bug ID: 35472
           Summary: E-Transcript Bundle Viewer 6.x installer uses VBScript
                    MsgBox function with optional arguments
           Product: Wine
           Version: 1.7.11
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: vbscript
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net
    Classification: Unclassified

Hello folks,

not a serious thing.
Though this might be useful in future for other apps.

The installer wants to show a message box via VBScript and supplies optional
arguments in VBScript MsgBox function:

--- snip ---
$ wine ./ebundleviewer-6.0.exe
...
fixme:vbscript:Global_MsgBox unsupported arg_cnt 3
--- snip ---

MSDN: http://msdn.microsoft.com/en-us/library/sfw6660x%28v=vs.84%29.aspx

Source:
http://source.winehq.org/git/wine.git/blob/d22252198949d3bf5fd3df77fa686adb8202a390:/dlls/vbscript/global.c#l1291

--- snip ---
1291 static HRESULT Global_MsgBox(vbdisp_t *This, VARIANT *args, unsigned
args_cnt, VARIANT *res)
1292 {
1293     BSTR prompt;
1294     HRESULT hres;
1295
1296     TRACE("\n");
1297
1298     if(args_cnt != 1) {
1299         FIXME("unsupported arg_cnt %d\n", args_cnt);
1300         return E_NOTIMPL;
1301     }
1302
1303     hres = to_string(args, &prompt);
1304     if(FAILED(hres))
1305         return hres;
1306
1307     hres = show_msgbox(This->desc->ctx, prompt, res);
1308     SysFreeString(prompt);
1309     return hres;
1310 }
--- snip ---

$ sha1sum ebundleviewer-6.0.exe 
58ab2e55039e61f8522a06d551c0bbfc32c8badc  ebundleviewer-6.0.exe

$ du -sh ebundleviewer-6.0.exe 
31M    ebundleviewer-6.0.exe

$ wine --version
wine-1.7.11-275-ge0024ff

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list