https://bugs.winehq.org/show_bug.cgi?id=37895
Bug ID: 37895
Summary: PostgreSQL 9.3 VBScript based post-install steps fail
due to parser errors (optional parameter between other
parameters, pair of empty commas)
Product: Wine
Version: 1.7.34
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: vbscript
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
as the summary says.
Installer log file:
--- snip ---
...
Initialising the database cluster (this may take a few minutes)...
Executing cscript //NoLogo "C:\Program
Files\PostgreSQL\9.3/installer/server/initcluster.vbs" "NT
AUTHORITY\NetworkService" "postgres" "****" "C:\Program Files\PostgreSQL\9.3"
"C:\Program Files\PostgreSQL\9.3\data" 5432 "DEFAULT" 0
Script exit code: 0
Script output:
Script stderr:
--- snip ---
Terminal output with script being executed standalone:
--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/PostgreSQL/9.3/installer/server
$ wine cscript //NoLogo initcluster.vbs
fixme:wscript:set_host_properties ignored L"nologo" switch
fixme:vbscript:VBScript_SetScriptState unimplemented SCRIPTSTATE_INITIALIZED
fixme:vbscript:parse_script parser failed around
L"2_OperatingSystem\",,48)\r\n\r\n For Each objItem In colItems\r\n
strVersion = Left(objItem.Version, 3)\r\n Next\r\n WScript.Echo \"
Version:\" & strVersion\r\n\r\n If InStr(strVersion, \".\") > 0 Then\r\n
majorVersion = CInt(Left(strVersion, InStr(strVersion, \".\") - 1"...
fixme:wscript:run_script ParseScriptText failed: 80004005
...
--- snip ---
Script function that fails to parse:
--- snip ---
' Is this Vista or above?
Function IsVistaOrNewer()
WScript.Echo "Called IsVistaOrNewer()..."
Set objWMI = GetObject("winmgmts:\\.\root\cimv2")
If objWMI Is Nothing Then
WScript.Echo " Couldn't create 'winmgmts:\\.\root\cimv2' object"
IsVistaOrNewer=false
ElseIf IsObject(objWMI) Then
WScript.Echo " 'winmgmts' object initialized..."
Else
WScript.Echo " 'winmgmts' object not initialized..."
End If
Set colItems = objWMI.ExecQuery("Select * from Win32_OperatingSystem",,48)
For Each objItem In colItems
strVersion = Left(objItem.Version, 3)
Next
WScript.Echo " Version:" & strVersion
If InStr(strVersion, ".") > 0 Then
majorVersion = CInt(Left(strVersion, InStr(strVersion, ".") - 1))
ElseIf InStr(strVersion, ",") > 0 Then
majorVersion = CInt(Left(strVersion, InStr(strVersion, ",") - 1))
Else
majorVersion = CInt(strVersion)
End If
WScript.Echo " MajorVersion:" & majorVersion
If majorVersion >= 6.0 Then
IsVistaOrNewer = True
Else
IsVistaOrNewer = False
End If
End Function
--- snip ---
The problem is parsing 'SWbemServices.ExecQuery' optional method parameters.
Signature MSDN:
http://msdn.microsoft.com/en-us/library/aa393866%28v=vs.85%29.aspx
--- quote ---
The ExecQuery method of the SWbemServices object executes a query to retrieve
objects. These objects are available through the returned SWbemObjectSet
collection.
This method is called in the semisynchronous mode. For more information, see
Calling a Method.
For an explanation of this syntax, see Document Conventions for the Scripting
API.
Syntax
VB
objWbemObjectSet = .ExecQuery( _
ByVal strQuery, _
[ ByVal strQueryLanguage ], _
[ ByVal iFlags ], _
[ ByVal objWbemNamedValueSet ] _
)
Parameters
strQuery
Required. String that contains the text of the query. This parameter cannot
be blank. For more information on building WMI query strings, see Querying with
WQL and the WQL reference.
strQueryLanguage [optional]
String that contains the query language to be used. If specified, this
value must be "WQL".
iFlags [optional]
Integer that determines the behavior of the query and determines whether
this call returns immediately. The default value for this parameter is
wbemFlagReturnImmediately. This parameter can accept the following values.
Value Meaning
wbemFlagForwardOnly
32 (0x20)
...
Causes WMI to return class amendment data with the base class definition.
For more information, see Localizing WMI Class Information.
objWbemNamedValueSet [optional]
Typically, this is undefined. Otherwise, this is an SWbemNamedValueSet
object whose elements represent the context information that can be used by the
provider that is servicing the request. A provider that supports or requires
such information must document the recognized value names, data type of the
value, allowed values, and semantics.
--- quote ---
'strQueryLanguage' = optional, needs to be passed in between pair of empty
commands as next parameter is explicitly given
'iFlags' = optional, 48 = WBEM_FLAG_FORWARD_ONLY | WBEM_FLAG_RETURN_IMMEDIATELY
(-> forward-only enumerator)
'objWbemNamedValueSet' = optional, no passing needed (last parameter)
$ sha1sum postgresql-9.3.5-3-windows.exe
e47b6569f86466da76199186aa1b63a94f040551 postgresql-9.3.5-3-windows.exe
$ du -sh postgresql-9.3.5-3-windows.exe
53M postgresql-9.3.5-3-windows.exe
$ wine --version
wine-1.7.34-36-g4493323
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.
http://bugs.winehq.org/show_bug.cgi?id=16445
Summary: .NET Framework 2.0 fails to install because of IE
dependency
Product: Wine
Version: 1.1.9
Platform: PC-x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: tobias.vogel(a)bluewin.ch
Trying to install the Microsoft .NET Framework fails on wine-1.1.9 (Fedora 10,
x86_64) with the error
"IE5.01 or higher version is required prior to installing Microsoft .NET
Framework."
Tryied on a clean, new .wine environment (Removed ~/.wine-Folder before) with
and without winetricks.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.
http://bugs.winehq.org/show_bug.cgi?id=11228
Summary: .NET Framework 2.0 Registry Bug
Product: Wine
Version: 0.9.53.
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: n.tessore(a)gmail.com
When installing the .NET Framework 2.0, the installer creates a registry key
HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework\Policy\AppPatch\v[RTM_ProductVersion].00000
---
The correct key would be
HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework\Policy\AppPatch\v2.0.50727.00000
---
This leads to seemingly meaningless errors in a number of unexpected places
(ie. normal non-.NET applications), like this one here:
fixme:advapi:RegisterEventSourceA ((null),".NET Runtime"): stub
fixme:advapi:RegisterEventSourceW (L"",L".NET Runtime"): stub
fixme:advapi:ReportEventW
(0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x00000000,0x33e64c,(nil)):
stub
err:eventlog:ReportEventW L"Error enumerating shim databases - 234"
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.
http://bugs.winehq.org/show_bug.cgi?id=25612
Summary: can´t install .NET Framework 2.0
Product: Wine
Version: 1.2.1
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: winehqbugs(a)bugmenot.com
Created an attachment (id=32610)
--> (http://bugs.winehq.org/attachment.cgi?id=32610)
log from the command line
If i try to install .NET Framework 2 I always get error-messages (see
attatchments). Can somebody please help me?
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.
https://bugs.winehq.org/show_bug.cgi?id=44656
Bug ID: 44656
Summary: Multiple applications need ntdll.NtSuspendProcess and
ntdll.NtResumeProcess implementation (Oracle Data
Visualization Desktop, cbwin)
Product: Wine
Version: 3.3
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: ntdll
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
to track Wine-Staging patchset:
https://github.com/wine-staging/wine-staging/tree/master/patches/ntdll-NtSu…
Essentially a continuation of bug 40989 which added 'ntdll.NtSuspendProcess and
'ntdll.ResumeProcess' stubs.
The original app/game is no longer available - at least not for free.
Searching for apps using this native API I found a hint here:
https://forum.winehq.org/viewtopic.php?f=9&t=28415
--- snip ---
"Data\ Visualization\ Desktop\\dvdesktop.exe"
...
fixme:ntdll:NtSuspendProcess stub: 0x8c
[0128/175611:ERROR:scoped_process_suspend.cc(29)] NtSuspendProcess,
ntstatus=-1073741822
...
fixme:ntdll:NtQuerySystemInformation (0x00000040,0xb50030,0x00200000,0x84e6e8)
stub
[0128/175611:ERROR:process_info.cc(372)] NtQuerySystemInformation
SystemExtendedHandleInformation: <failed to retrieve error message (0x13d)>
(0xc0000003)
fixme:ntdll:NtResumeProcess stub: 0x8c
[0128/175611:ERROR:scoped_process_suspend.cc(38)] NtResumeProcess,
ntstatus=-1073741822
--- snip ---
This is probably 'Oracle Data Visualization Desktop':
http://www.oracle.com/technetwork/middleware/oracle-data-visualization/down…http://download.oracle.com/otn/nt/middleware/12c/1224/Oracle_Data_Visualiza…
Another candidate: 'cbwin' (Launch Windows programs from "Bash on Ubuntu on
Windows" (WSL)) which also makes use of this native API.
https://github.com/xilun/cbwinhttps://github.com/xilun/cbwin/releases/download/v0.13/cbwin-bin-0.13.zip
There are likely more apps to find and play/test with.
This was just a quick search-n-grab.
Will check them later in details how to reproduce/validate.
$ sha1sum cbwin-bin-0.13.zip
63842e94abe4fcb8b331ee7419e671c4731ddf21 cbwin-bin-0.13.zip
$ du -sh cbwin-bin-0.13.zip
108K cbwin-bin-0.13.zip
$ sha1sum Oracle_Data_Visualization_Desktop_Windows_V4.1.1_12_2_4_1_1.zip
d76367cf62d1245a55173809cde5032597ec0e96b
Oracle_Data_Visualization_Desktop_Windows_V4.1.1_12_2_4_1_1.zip
$ du -sh Oracle_Data_Visualization_Desktop_Windows_V4.1.1_12_2_4_1_1.zip
467M Oracle_Data_Visualization_Desktop_Windows_V4.1.1_12_2_4_1_1.zip
$ wine --version
wine-3.3
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.
http://bugs.winehq.org/show_bug.cgi?id=10325
Summary: Avencast: Rise of the Mage crash on attempt to play
startup video
Product: Wine
Version: 0.9.48.
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: wine-directx
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: cheetahmorph(a)gmail.com
Created an attachment (id=8986)
--> (http://bugs.winehq.org/attachment.cgi?id=8986)
Logfile auto-generated by the Avencast Demo
>From watching the installer, I noticed several .wmv files installed. Game asked
for d3dx9_30.dll, which was copied from my other harddrive partition to the
game folder. Game launches easily, showing the splash screen, and then this
error:
DXC Error (DirectX9)
DXC_VideoPlayerOverlayBase: CoCreateInstance failed (VideoMixingRenderer)
Upon clicking "Ok", the game crashes.
Link to demo:
http://files.filefront.com/Avencast+Rise+of+the+Mage+Demo/;8771255;/fileinf…
Attached: Log that the demo created on its own, might be useful
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38964
Bug ID: 38964
Summary: utils.c NULL pointer reference in memcpy
Product: Wine
Version: 1.7.47
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: tools
Assignee: wine-bugs(a)winehq.org
Reporter: vitti570(a)gmail.com
Distribution: ---
In widl/utils.c:379
memcpy( output_buffer + output_buffer_pos, data, size );
the pointer data is NULL.
This is during wine build on x86-64 with default -m32 option.
I double checked it by prefixing the instruction with "assert(data)" as in
assert(data),memcpy( output_buffer + output_buffer_pos, data, size );
--
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.
http://bugs.winehq.org/show_bug.cgi?id=22616
Summary: problem with merriam-webster-dictionary
Product: Wine
Version: 1.1.43
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: romangrubecki(a)hotmail.com
Merriam- Webster 3.11 dictionary does not work.
I have 2 Ubuntu versions on 2 separate hard drives.
In Ubuntu 9.10 and wine 1.1.43 - works perfect. I have installed Webster 4
months ago. with older version of wine. Since then I keep upgrading Wine and
dictionary still works fine.
Then I have installed Ubuntu 10.04 from cd on separate hard drive. I installed
Wine from repository. Webster dictionary does not work on this instalation. Is
the same version of wine, and the same computer.
Communicate appears: The program Merriam-Webster.exe has encountered a serious
problem and needs to close.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.
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(a)winehq.org
Reporter: focht(a)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
--
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.
https://bugs.winehq.org/show_bug.cgi?id=45400
Bug ID: 45400
Summary: eden* (VN) some font characters display with the wrong
glyph (capitals/spaces)
Product: Wine
Version: 3.11
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: kq3thih(a)mailnesia.com
Distribution: ---
Created attachment 61710
--> https://bugs.winehq.org/attachment.cgi?id=61710
+font,+nls,+relay - 36.4M
eden*, GOG version (all ages/17+), some font characters display with the wrong
glyph. Often capital letters and/or spaces. To reproduce start eden_en.exe, and
click Settings or start a new game.
Merriweather MG font is installed along with the game. When chosen as the font
to use the broken characters display as the first non-unicode glyph in
Merriweather MG, box with an X inside named ".notdef" according to FontForge.
>From the attached +font,+nls,+relay log.
A wrong glyph:
--- snip ---
002b:Call KERNEL32.MultiByteToWideChar(000004e4,00000001,0033f644
"l",00000001,0033f640,00000001) ret=0051a005
002b:trace:nls:MultiByteToWideChar cp 1252 "l" -> L"l", ret = 1
002b:Ret KERNEL32.MultiByteToWideChar() retval=00000001 ret=0051a005
002b:Call
gdi32.GetGlyphOutlineW(0037005b,0037006c,00000005,00d0e770,00000000,009a2ad8,005671d0)
ret=0051a053
002b:trace:font:GetGlyphOutlineW (0x37005b, 37006c, 0005, 0xd0e770, 0,
0x9a2ad8, 0x5671d0)
002b:trace:font:get_glyph_outline 0x1c2570, 37006c, 00000005, 0xd0e770,
00000000, 0x9a2ad8, 0x5671d0
002b:trace:font:get_glyph_outline font transform 1.000000 0.000000 0.000000
1.000000
002b:trace:font:get_glyph_outline 10,11,(0,12),10,0
002b:Ret gdi32.GetGlyphOutlineW() retval=00000084 ret=0051a053
002b:Call
gdi32.GetGlyphOutlineW(0037005b,0037006c,00000005,00d0e770,00000084,009a2ad8,005671d0)
ret=0051a161
002b:trace:font:GetGlyphOutlineW (0x37005b, 37006c, 0005, 0xd0e770, 132,
0x9a2ad8, 0x5671d0)
002b:trace:font:get_glyph_outline 0x1c2570, 37006c, 00000005, 0xd0e770,
00000084, 0x9a2ad8, 0x5671d0
002b:trace:font:get_glyph_outline font transform 1.000000 0.000000 0.000000
1.000000
002b:trace:font:get_glyph_outline 10,11,(0,12),10,0
002b:Ret gdi32.GetGlyphOutlineW() retval=00000084 ret=0051a161
--- snip ---
A correct glyph:
--- snip ---
002b:Call KERNEL32.MultiByteToWideChar(000004e4,00000001,0033f644
"a",00000001,0033f640,00000001) ret=0051a005
002b:trace:nls:MultiByteToWideChar cp 1252 "a" -> L"a", ret = 1
002b:Ret KERNEL32.MultiByteToWideChar() retval=00000001 ret=0051a005
002b:Call
gdi32.GetGlyphOutlineW(0037005b,00000061,00000005,00d0e770,00000000,009a2ad8,005671d0)
ret=0051a053
002b:trace:font:GetGlyphOutlineW (0x37005b, 0061, 0005, 0xd0e770, 0, 0x9a2ad8,
0x5671d0)
002b:trace:font:get_glyph_outline 0x1c2570, 0061, 00000005, 0xd0e770, 00000000,
0x9a2ad8, 0x5671d0
002b:trace:font:get_glyph_outline font transform 1.000000 0.000000 0.000000
1.000000
002b:trace:font:get_glyph_outline 9,12,(0,11),8,0
002b:Ret gdi32.GetGlyphOutlineW() retval=00000090 ret=0051a053
002b:Call
gdi32.GetGlyphOutlineW(0037005b,00000061,00000005,00d0e770,00000090,009a2ad8,005671d0)
ret=0051a161
002b:trace:font:GetGlyphOutlineW (0x37005b, 0061, 0005, 0xd0e770, 144,
0x9a2ad8, 0x5671d0)
002b:trace:font:get_glyph_outline 0x1c2570, 0061, 00000005, 0xd0e770, 00000090,
0x9a2ad8, 0x5671d0
002b:trace:font:get_glyph_outline font transform 1.000000 0.000000 0.000000
1.000000
002b:trace:font:get_glyph_outline 9,12,(0,11),8,0
002b:Ret gdi32.GetGlyphOutlineW() retval=00000090 ret=0051a161
--- snip ---
--
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.