https://bugs.winehq.org/show_bug.cgi?id=35744
Bug ID: 35744 Summary: LabChart Reader 8 installer ends prematurely (VBScript support for class default sub missing) Product: Wine Version: 1.7.14 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: vbscript Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net
Hello folks,
continuation of bug 35110
--- snip --- $ WINEDEBUG=+tid,+seh,+relay,+vbscript,+msi wine msiexec -i LabChartReader_v8.0.msi >>log.txt 2>&1 ... 0037:trace:vbscript:VBScriptParse_ParseScriptText (0x153ca8)->(L"Option Explicit\r\n\r\nConst kInfoMessage = &H04000000\r\ndim kDebugContext\r\n\r\nkDebugContext = false\r\n'kDebugContext = true ' True for command line testing\r\n'\r\n'if (kDebugContext) then\r\n' Dim Session\r\n'\r\n' Set Session = New SessionType\r\n' Session.Init\r\n' Session.Proper"... (null) (nil) (null) 0 0 0 (nil) (nil)) ... 0037:fixme:vbscript:new_function_decl Invalid default property 0037:trace:vbscript:VBScript_Release (0x153ca8) ref=1 0037:trace:vbscript:VBScript_Release (0x153ca8) ref=0 0037:trace:msi:MsiActiveScriptSite_OnStateChange State: Closed. 0037:trace:msi:MsiActiveScriptSite_Release (0x153b18)->(2) ... 0037:trace:msi:ACTION_CallScript script returned 1603 0037:trace:msi:MsiCloseHandle 1 0037:trace:msi:ScriptThread custom action (37) returned 1603 --- snip ---
VBScript code:
--- snip --- class SessionType ...
Public Default Sub Init () Set Properties = CreateObject ("Scripting.Dictionary") Quiet = true End Sub ... End Class --- snip ---
$ sha1sum LabChartReader_v8.0.msi 2d4f4ffc88e1b40f76d5fa95bdf9ac1a2dea1162 LabChartReader_v8.0.msi
$ du -sh LabChartReader_v8.0.msi 43M LabChartReader_v8.0.msi
$ wine --version wine-1.7.14
Regards
https://bugs.winehq.org/show_bug.cgi?id=35744
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |http://cdn.adinstruments.co | |m/Installers/win/LabChartRe | |ader_v8.0.msi
http://bugs.winehq.org/show_bug.cgi?id=35744
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |28847
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
it would be nice if the diagnostics could be improved to give more context. Otherwise one needs to debug it to figure out which token/script text (breakpoint in error path).
Regards
http://bugs.winehq.org/show_bug.cgi?id=35744
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 49073 --> http://bugs.winehq.org/attachment.cgi?id=49073 vbscript test file
This file can be used to test it. It works in windows and gives the same error from the program:
fixme:vbscript:new_function_decl Invalid default property fixme:wscript:run_script ParseScriptText failed: 80004005
http://bugs.winehq.org/show_bug.cgi?id=35744
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #49073|application/x-wine-extensio |text/plain mime type|n-vbs |
https://bugs.winehq.org/show_bug.cgi?id=35744
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, obviously still present.
$ wine --version wine-1.7.34-36-g4493323
Regards
https://bugs.winehq.org/show_bug.cgi?id=35744
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, obviously still present.
$ wine --version wine-1.7.54-179-ga0d0d0d
Regards
https://bugs.winehq.org/show_bug.cgi?id=35744
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #5 from winetest@luukku.com --- Still valid wine 1.9.23.
https://bugs.winehq.org/show_bug.cgi?id=35744
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://cdn.adinstruments.co |https://web.archive.org/web |m/Installers/win/LabChartRe |/20140407004909/http://cdn. |ader_v8.0.msi |adinstruments.com/Installer | |s/win/LabChartReader_v8.0.m | |si
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
Replacing download link with stable one from Internet archive:
https://web.archive.org/web/20140407004909/http://cdn.adinstruments.com/Inst...
$ sha1sum LabChartReader_v8.0.msi 2d4f4ffc88e1b40f76d5fa95bdf9ac1a2dea1162 LabChartReader_v8.0.msi
$ du -sh LabChartReader_v8.0.msi 43M LabChartReader_v8.0.msi
$ wine --version wine-4.3-229-g6d82b2f1ad
Regards
https://bugs.winehq.org/show_bug.cgi?id=35744
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
$ wine --version wine-4.20
Regards
https://bugs.winehq.org/show_bug.cgi?id=35744
Robert Wilhelm sloper42@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sloper42@yahoo.com
--- Comment #8 from Robert Wilhelm sloper42@yahoo.com --- Created attachment 68276 --> https://bugs.winehq.org/attachment.cgi?id=68276 vbs testcase
extracted vbs from installer with line 7-18 uncommented for comand line testing.
https://bugs.winehq.org/show_bug.cgi?id=35744
--- Comment #9 from Robert Wilhelm sloper42@yahoo.com --- We have two issues here:
VBScript support for class default sub missing and properties with extra parameters similar to https://bugs.winehq.org/show_bug.cgi?id=33996.
https://bugs.winehq.org/show_bug.cgi?id=35744
--- Comment #10 from Robert Wilhelm sloper42@yahoo.com --- VBScript support for class default sub was added in
https://source.winehq.org/git/wine.git/commitdiff/16fe2037fb2b3ddec1e6312b07...
Now we run into this "properties with extra parameters" issue:
011c:fixme:vbscript:parser_error L"Property (name)\r\n if Not Quiet and not Properties.Exists (name) then\r\n Echo "Get creating property " & name\r\n Properties.Item (name) = ""\r\n end if\r\n\r\n Property = Properties.Item (name)\r\n End Property\r\n\r\n Public Propert"...: "syntax error"
https://bugs.winehq.org/show_bug.cgi?id=35744
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |16fe2037fb2b3ddec1e6312b076 | |cc76d88e9240a Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #11 from Anastasius Focht focht@gmx.net --- Hello folks,
this was fixed by commit https://source.winehq.org/git/wine.git/commitdiff/16fe2037fb2b3ddec1e6312b07... ("vbscript: Support class default sub.").
Thanks Robert
Still fails, but that's a different issues as you already mentioned in comment #9 and comment #10
--- snip --- 020c:fixme:vbscript:parser_error L"Property (name)\r\n if Not Quiet and not Properties.Exists (name) then\r\n Echo "Get creating property " & name\r\n Properties.Item (name) = ""\r\n end if\r\n\r\n Property = Properties.Item (name)\r\n End Property\r\n\r\n Public Propert"...: "syntax error" 020c:err:msi:MsiActiveScriptSite_OnScriptError script error: L"Unknown runtime error" 0200:err:msi:ITERATE_Actions Execution halted, action L"GetCmdDir" returned 1603 --- snip ---
$ wine --version wine-5.19-123-ge909986e6ea
Regards
https://bugs.winehq.org/show_bug.cgi?id=35744
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.20.
https://bugs.winehq.org/show_bug.cgi?id=35744
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |5.0.x
https://bugs.winehq.org/show_bug.cgi?id=35744
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|5.0.x |---
--- Comment #13 from Michael Stefaniuc mstefani@winehq.org --- Removing the 5.0.x milestone from bug fixes included in 5.0.4.