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