http://bugs.winehq.org/show_bug.cgi?id=34154
Bug #: 34154 Summary: iTunes 7 does not install Product: Wine Version: 1.6 Platform: x86 URL: http://www.oldapps.com/itunes.php?old_itunes=15?downlo ad&ModPagespeed=noscript OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: 00cpxxx@gmail.com Classification: Unclassified
Created attachment 45435 --> http://bugs.winehq.org/attachment.cgi?id=45435 standard output + vbscript output
The installer for iTunes 7 shows an error screen saying something went wrong and does not install. The output is attached, the following lines look relevant so I added a +vbscript to the log.
fixme:vbscript:interp_newenum Unsupported for {V_BYREF -> {VT_DISPATCH: 0x216428}} fixme:vbscript:exec_script Failed 80004001 in resume next mode
winetricks wsh56vb workarounds the issue.
http://bugs.winehq.org/show_bug.cgi?id=34154
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor
https://bugs.winehq.org/show_bug.cgi?id=34154
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer CC| |focht@gmx.net Component|-unknown |vbscript
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming, still present.
--- snip --- $ WINEDEBUG=+tid,+seh,+vbscript wine ./iTunesSetup7.exe ... 0026:trace:vbscript:interp_set_ident L"RelatedProducts" 0026:trace:vbscript:interp_icall 0026:trace:vbscript:interp_newenum 0026:fixme:vbscript:interp_newenum Unsupported for {V_BYREF -> {VT_DISPATCH: 0x1e0a08}} 0026:fixme:vbscript:exec_script Failed 80004001 in resume next mode 0026:warn:vbscript:exec_script Failed 80004001 ... 0024:err:msi:ITERATE_Actions Execution halted, action L"iTunesLaunchConditions" returned 1603 --- snip ---
The extracted VBScript code in question ('For Each ProductCode in RelatedProducts'):
--- snip --- Sub PreventDowngrade Const msiInstallStateAdvertised = 1 Dim Installer Dim RelatedProducts Dim UpgradeCode Dim ProductCode Dim ProductVersion Dim ProductVersionMax Dim ProductVersionFound
On Error Resume Next Set Installer = Session.Installer ProductVersion = Session.Property("ProductVersion") ProductVersionMax = "" UpgradeCode = Session.Property("UpgradeCode") Set RelatedProducts = Installer.RelatedProducts(UpgradeCode) For Each ProductCode in RelatedProducts If Installer.ProductState(ProductCode) = msiInstallStateAdvertised Then ProductVersionFound = Installer.ProductInfo(ProductCode, "Version") Else Err.Clear : ProductVersionFound = Installer.ProductInfo(ProductCode, "VersionString") If Err.number <> 0 Then ProductVersionFound = "" End If If CompareVersions(ProductVersionFound, ProductVersionMax) > 0 Then ProductVersionMax = ProductVersionFound Next If CompareVersions(ProductVersionMax, ProductVersion) > 0 Then Session.Property("BNEWERITUNESISINSTALLED") = "1" Else Session.Property("BNEWERITUNESISINSTALLED") = "" End If End Sub --- snip ---
$ sha1sum iTunesSetup7.exe 5cdc86b2edb1411b9a022f05b1bfbe858fbcf901 iTunesSetup7.exe
$ du -sh iTunesSetup7.exe 35M iTunesSetup7.exe
$ wine --version wine-1.7.14
Regards
https://bugs.winehq.org/show_bug.cgi?id=34154
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com
--- Comment #2 from Jacek Caban jacek@codeweavers.com --- Patch sent:
http://source.winehq.org/patches/data/103072
https://bugs.winehq.org/show_bug.cgi?id=34154
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |86ee4e959a71a9715dec98b0df5 | |9f82fb3cb91aa Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit http://source.winehq.org/git/wine.git/commitdiff/86ee4e959a71a9715dec98b0df5...
Thanks Jacek
--- snip --- ... 002f:trace:vbscript:interp_set_ident L"RelatedProducts" 002f:Call oleaut32.VariantCopyInd(001f2c08,001f2c70) ret=f71c7f9e 002f:trace:variant:VariantCopyInd (0x1f2c08->(VT_EMPTY),0x1f2c70->(VT_DISPATCH)) 002f:trace:variant:VariantCopy (0x1f2c08->(VT_EMPTY),0x1f2c70->(VT_DISPATCH)) 002f:trace:variant:VariantClear (0x1f2c08->(VT_EMPTY)) 002f:Ret oleaut32.VariantCopyInd() retval=00000000 ret=f71c7f9e 002f:Call oleaut32.VariantClear(001f2c70) ret=f71c6ac0 002f:trace:variant:VariantClear (0x1f2c70->(VT_DISPATCH)) 002f:Ret oleaut32.VariantClear() retval=00000000 ret=f71c6ac0 002f:trace:vbscript:interp_icall 002f:trace:vbscript:interp_newenum 002f:trace:vbscript:disp_call using IDispatch 002f:trace:ole:ITypeLib2_fnGetTypeInfoOfGuid 0x1d5fd8 {000c1095-0000-0000-c000-000000000046} 0x64def8 002f:trace:ole:ITypeInfo_fnAddRef (0x1ddd20)->ref is 1 002f:trace:ole:ITypeLib2_fnAddRef (0x1d5fd8) ref=4 002f:Call oleaut32.VariantInit(0064e3e0) ret=7ece79dc 002f:trace:variant:VariantInit (0x64e3e0) 002f:Ret oleaut32.VariantInit() retval=0064e3e0 ret=7ece79dc 002f:Call ntdll.RtlAllocateHeap(00110000,00000000,00000010) ret=7ece6cb8 002f:Ret ntdll.RtlAllocateHeap() retval=001f3080 ret=7ece6cb8 002f:Call oleaut32.SysFreeString(00000000) ret=7ece7ea6 002f:Ret oleaut32.SysFreeString() retval=0064df40 ret=7ece7ea6 002f:trace:vbscript:interp_enumnext --- snip ---
Next bug will follow ...
Regards
https://bugs.winehq.org/show_bug.cgi?id=34154
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.15.