http://bugs.winehq.org/show_bug.cgi?id=35110
Bug ID: 35110 Summary: LabChart Reader 8 installer ends prematurely Product: Wine Version: 1.7.8 Hardware: x86 URL: http://cdn.adinstruments.com/Installers/win/LabChartRe ader_v8.0.msi OS: Linux Status: NEW Keywords: download, Installer Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: 00cpxxx@gmail.com Blocks: 28847 Classification: Unclassified
Created attachment 46834 --> http://bugs.winehq.org/attachment.cgi?id=46834&action=edit standard output
SHA1: 2d4f4ffc88e1b40f76d5fa95bdf9ac1a2dea1162 LabChartReader_v8.0.msi
I think this is the relevant part: fixme:vbscript:parse_script parser failed around L" Properties\r\n Dim Quiet\r\n\r\n Public Default Sub Init ()\r\n Set Properties = CreateObject ("Scripting.Dictionary")\r\n Quiet = true\r\n End Sub\r\n\r\n Public Property Get Property (name)\r\n if Not Quiet and not Properties.Exists (name) then\r\n Ech"... err:msi:ITERATE_Actions Execution halted, action L"GetCmdDir" returned 1603
This bug may be a duplicate of some other Scripting.Dictionary bug.
winetricks -q wsh56vb workarounds the issue.
http://bugs.winehq.org/show_bug.cgi?id=35110
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #46834|0 |1 is obsolete| |
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 46835 --> http://bugs.winehq.org/attachment.cgi?id=46835&action=edit standard output
This is the correct attachment.
http://bugs.winehq.org/show_bug.cgi?id=35110
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |vbscript
http://bugs.winehq.org/show_bug.cgi?id=35110
rafjaimes@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rafjaimes@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=35110
--- Comment #2 from rafjaimes@gmail.com --- Installs fine with vcrun2008, wmp9, corefonts, and dotnet40.
Make sure you don't have mono installed (.NET 2.0 I think). You need at least .NET framework of 3.5 SP1 but 4.0 seems to be working pretty well.
https://bugs.winehq.org/show_bug.cgi?id=35110
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|LabChart Reader 8 installer |LabChart Reader 8 installer |ends prematurely |ends prematurely (VBScript | |parser fails to recognize | |class variables declared | |with 'Dim' within class | |statement)
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming, still present.
Original code (shorted to include only the problematic class statement):
--- snip --- class SessionType Public Properties Dim Quiet
Public Default Sub Init () Set Properties = CreateObject ("Scripting.Dictionary") Quiet = true End Sub
Public Property Get Property (name) if Not Quiet and not Properties.Exists (name) then Echo "Get creating property " & name Properties.Item (name) = "" end if
Property = Properties.Item (name) End Property
Public Property Set Property (name, value) if Not Quiet and not Properties.Exists (name) then Echo "Set creating property " & name end if
Properties.Item (name) = value if Not Quiet Then Echo "Set " & name & " to '" & value & "'" End Property
Public Property Let Property (name, value) Properties.Item (name) = value if Not Quiet Then Echo "Let " & name & " = '" & value & "'" End Property
Public Sub SetQuiet (beQuiet) Quiet = beQuiet End Sub End Class
--- snip ---
Wine's VBScript parser doesn't like class variables declared with 'Dim' within class statement.
$ 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.13-53-g37e0a1a
Regards
http://bugs.winehq.org/show_bug.cgi?id=35110
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com
--- Comment #4 from Jacek Caban jacek@codeweavers.com --- Patch sent: http://source.winehq.org/patches/data/103055
The class still fails to parse due to lack of support for default sub.
http://bugs.winehq.org/show_bug.cgi?id=35110
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |82cace0f0e47fd8a716057fe950 | |9d340a131c84b Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
support was added with commits:
http://source.winehq.org/git/wine.git/commitdiff/82cace0f0e47fd8a716057fe950...
http://source.winehq.org/git/wine.git/commitdiff/70628f80c0a52e2051c6a154ecf...
Thanks Jacek
Regards
https://bugs.winehq.org/show_bug.cgi?id=35110
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.15.