[Bug 35966] New: postgresql 9.3.4-3 fails to install (cscript/vbscript)
https://bugs.winehq.org/show_bug.cgi?id=35966 Bug ID: 35966 Summary: postgresql 9.3.4-3 fails to install (cscript/vbscript) Product: Wine Version: 1.7.16 Hardware: x86 URL: http://www.postgresql.org/download/windows/ OS: Linux Status: NEW Keywords: download, Installer Severity: minor Priority: P2 Component: vbscript Assignee: wine-bugs(a)winehq.org Reporter: austinenglish(a)gmail.com There's an error about not being able to write to the TEMP directory, and this in terminal: fixme:cscript:wWinMain (0x7ee70000 (nil) L"//NoLogo C:\\users\\austin\\Temp\\postgresql_installer_4c3040fd40\\prerun_checks.vbs" 1) forwarding to wscript WINEDEBUG=tid,cscript,wscript,vbscript doesn't show much: austin(a)aw25 ~ $ WINEDEBUG=tid,cscript,wscript,vbscript wine postgresql-9.3.4-3-windows.exe 003b:fixme:font:freetype_SelectFont Untranslated charset 255 003b:fixme:iphlpapi:GetExtendedTcpTable module classes not fully supported 003b:fixme:iphlpapi:GetExtendedTcpTable module classes not fully supported 003b:fixme:iphlpapi:GetExtendedTcpTable module classes not fully supported 003b:fixme:iphlpapi:GetExtendedTcpTable module classes not fully supported 003b:fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046} 003b:fixme:imm:ImmReleaseContext (0x2007e, 0x9e5f930): stub 002b:fixme:cscript:wWinMain (0x7ee70000 (nil) L"//NoLogo C:\\users\\austin\\Temp\\postgresql_installer_5670405110\\prerun_checks.vbs" 1) forwarding to wscript 002c:trace:wscript:wWinMain (0x7ee60000 (nil) L"/B //NoLogo C:\\users\\austin\\Temp\\postgresql_installer_5670405110\\prerun_checks.vbs" 1) winetricks wsh57 gets past it -- 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=35966 --- Comment #1 from Austin English <austinenglish(a)gmail.com> --- austin(a)aw25 ~ $ sha1sum postgresql-9.3.4-3-windows.exe d8fd1733ba5c7d491eb78da6bbc37b9e85a7fd9f postgresql-9.3.4-3-windows.exe austin(a)aw25 ~ $ du -h postgresql-9.3.4-3-windows.exe 51M postgresql-9.3.4-3-windows.exe austin(a)aw25 ~ $ wine --version wine-1.7.16-135-g7f311fb -- 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=35966 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |35967 -- 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=35966 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |35968 -- 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=35966 Vijay Kamuju <infyquest(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest(a)gmail.com --- Comment #2 from Vijay Kamuju <infyquest(a)gmail.com> --- This is because wscript.exe does not implement Host_CreateObject in wine -- 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=35966 --- Comment #3 from Austin English <austinenglish(a)gmail.com> --- https://source.winehq.org/git/wine.git/commitdiff/e9aae93a6b16acd784126c8656... gets rid of the cscript fixme, but the problem remains. -- 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=35966 --- Comment #4 from Vijay Kamuju <infyquest(a)gmail.com> --- I checked the vbs file as mentioned in the above comment, the CreateObject is not implemented for these executables in wine -- 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=35966 Jacek Caban <jacek(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek(a)codeweavers.com --- Comment #5 from Jacek Caban <jacek(a)codeweavers.com> --- I sent a CreateObject patch: http://source.winehq.org/patches/data/103933 but looking at those logs, it seems like the failure is much sooner (probably missing -NoLogo argument support). -- 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=35966 --- Comment #6 from Austin English <austinenglish(a)gmail.com> --- (In reply to Jacek Caban from comment #5)
I sent a CreateObject patch:
http://source.winehq.org/patches/data/103933
but looking at those logs, it seems like the failure is much sooner (probably missing -NoLogo argument support).
Yeah. After 6617f27004039860ac5d487c5ec0e112890deaed the only line in the debug output is: 0037:trace:wscript:wWinMain (0x7ee60000 (nil) L"//NoLogo C:\\users\\austin\\Temp\\postgresql_installer_a14d9272b8\\prerun_checks.vbs" 1) -- 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=35966 --- Comment #7 from Vijay Kamuju <infyquest(a)gmail.com> --- It needs implementation of th WshEnvironent Object in wshom.ocx I believe that the code for the vbs file is here https://github.com/three-plus-three/tpt_env_amd64/blob/master/postgresql/ins... I think it needs the wshom:WshShell3_get_Environment and IWshEnvironment Object implementation in wshom.ocx -- 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=35966 --- Comment #8 from Vijay Kamuju <infyquest(a)gmail.com> --- more info on the WshShell.Environment([strType]) http://www.devguru.com/technologies/wsh/17409 -- 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=35966 --- Comment #9 from Nikolay Sivov <bunglehead(a)gmail.com> --- (In reply to Vijay Kamuju from comment #7)
I think it needs the wshom:WshShell3_get_Environment and IWshEnvironment Object implementation in wshom.ocx
Does wscript work now? How did you test that? -- 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=35966 --- Comment #10 from Vijay Kamuju <infyquest(a)gmail.com> --- run the script (in comment #7) manually in wine using wscript. no it does not it gives the same error, saying "Unable to write inside TEMP environment variable path. " -- 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=35966 --- Comment #11 from Nikolay Sivov <bunglehead(a)gmail.com> --- With a patch I just sent that makes /nologo part work, it goes further and does actually create WshSysEnv variable. Later it fails in vbscript code to call this part: --- strSystemRoot = WshSysEnv("TEMP") --- relevant fixme is : --- 0036:trace:vbscript:interp_set_ident L"WshSysEnv" 0036:trace:vbscript:assign_ident creating variable L"WshSysEnv" 0036:trace:wshom:WshEnvironment_AddRef (0x142150) ref = 2 0036:trace:wshom:WshEnvironment_Release (0x142150) ref = 1 0036:trace:vbscript:interp_string 0036:trace:vbscript:interp_icall 0036:fixme:vbscript:do_icall arguments not implemented, 9 0036:warn:vbscript:exec_script Failed 800a01bd --- P.S. I added more output to do_icall(), 9 is VT_DISPATCH type of 'v' variant. -- 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=35966 --- Comment #12 from Vijay Kamuju <infyquest(a)gmail.com> --- The VT_DISPATCH should call the WshEnvironment_get_Item to get the env variable "TEMP" value. This also means that the WshEnvironment struct should be completed by adding a key value pair implementation to store the Environment Variable That is we need a partial implementation of the WshEnvironment class in Wine -- 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=35966 --- Comment #13 from Nikolay Sivov <bunglehead(a)gmail.com> --- (In reply to Vijay Kamuju from comment #12)
The VT_DISPATCH should call the WshEnvironment_get_Item to get the env variable "TEMP" value.
Obviously it should eventually come to Invoke() with DISPID_VALUE presumably, I have no idea how to do this right.
This also means that the WshEnvironment struct should be completed by adding a key value pair implementation to store the Environment Variable That is we need a partial implementation of the WshEnvironment class in Wine
That's not a problem, once get_Item() is actually called. -- 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=35966 --- Comment #14 from Vijay Kamuju <infyquest(a)gmail.com> --- I think Jacek might be of help here, since he has implemented most of the functionality in vbscript -- 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=35966 --- Comment #15 from Jacek Caban <jacek(a)codeweavers.com> --- Patch sent: http://source.winehq.org/patches/data/105657 -- 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=35966 Jacek Caban <jacek(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e73bd253ea4e72d0ceb58741051 | |55fb99e6f3ea5 Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #16 from Jacek Caban <jacek(a)codeweavers.com> --- The fix is in Git. The next problem is unimplemented WshEnvironment_get_Item. -- 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=35966 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #17 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.7.23. -- 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.
participants (1)
-
wine-bugs@winehq.org