https://bugs.winehq.org/show_bug.cgi?id=47306
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Microsoft Viva Pinata fails |Microsoft Viva Pinata fails |to install, reports: -1603 |to install |Fatal error during | |installation. |
--- Comment #9 from Anastasius Focht focht@gmx.net --- Hello folks,
I can't reproduce this, works fine here. Fortunately I still have the original media for reproduce when I investigated bug 25243 ("Microsoft Viva Pinata fails on startup (Wine-Gecko "SetThreadName" MSVC exception 0x406d1388 breaks SafeDisc debugger))" years ago.
Dump of 'Feature' table with ORCA:
--- snip --- Feature Feature_Parent Title Description Display Level Directory_ Attributes s38 S38 L64 L255 I2 i2 S72 i2 Feature Feature disc1 disc1 0 1 INSTALLDIR 24 disc2 disc2 0 1 INSTALLDIR 24 --- snip ---
Dump of 'FeatureComponents' table with ORCA:
--- snip --- Feature_ Component_ s38 s72 FeatureComponents Feature_ Component_ disc1 bundles disc1 datacx disc1 debug disc1 movie disc1 FirewallInstallHelper.dll disc1 GameuxInstallHelper.dll disc1 base disc1 _7B5359801223961A834A25BB2837871C disc1 uplevel.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E disc1 downlevel_manifest.8.0.50727.762.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E disc1 downlevel_payload.8.0.50727.762.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E disc1 nosxs.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E disc1 downlevel_payload.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E ... disc1 downlevel_manifest.8.0.50727.193.63E949F6_03BC_5C40_FF1F_C8B3B9A1E18E disc2 shaders disc2 bundles_packages disc2 xwavebank disc2 xwavebankloc disc2 _48FBF95A3CB1CFFA244515676764A1B1 disc2 _02475FC5FE696C7BB9AE6A4E5FBECED0 disc2 _AC3CDA143EA0871B89ADED443C69BB7A --- snip ---
Dump of 'File' table with ORCA:
--- snip --- File Component_ FileName FileSize Version Language Attributes Sequence s72 s72 l255 i4 S72 S20 I2 i2 File File firewallinstallhelper.dll FirewallInstallHelper.dll FIREWA~1.DLL|FirewallInstallHelper.dll 44904 9.17.892.0 1033 8193 1 gameuxinstallhelper.dll GameuxInstallHelper.dll GAMEUX~1.DLL|GameuxInstallHelper.dll 78184 9.20.1057.0 1033 8192 2 _1EFF312788129D79B6DEBDFCBB538F2E base binkw32.dll 167936 1.8.23.0 1033 8192 3 _95D0C0B7D56E344EAC60C34E7A376178 base cursors.dll 132096 1.0.0.1 2057 8192 4 _5887C6CA4FD134B983C570CE2AA065A0 base launch.cab 665324 8192 5 _8C54168E0152AD5B0C613E42ECA7051D base PCCompat.dll 373760 0.1.43.0 1033 8192 6 _35ECF07433A7AF2186AB33B902BECADB base PCCompat.xml 196659 8192 7 _AC4CFB7A9C1AC883299582E76535E367 base PCCompat.xsd 5499 8192 8 _5D23EC46E6E6559D7D10635ECC4EB0B7 base startup.dll 78848 1.10712.0.0 1033 8192 9 _FF9D02F19758DB61DDE7A377C3EECA11 base Startup.exe 2010304 1.15.0.0 1033 8192 10 _E0E7812F04EF5C0FEE3E886F8D720B7E base VIVAPI~1.EXE|Viva Pinata.exe 11056128 1.0.0.1 2057 8192 11 _5F789428AC3C5D2C9C2C8FB6A3E84DC0 base VIVAPI~1.CAT|Viva Pinata.exe.cat 1487 8192 12 _A2C088FE6A6F4A85063F8E5F1BFA5FC3 base VIVAPI~1.CFG|Viva Pinata.exe.cfg 446 8192 13 ... _2618AD5CD9AB424BA6A9B1602A03F734 _7B5359801223961A834A25BB2837871C AID_CU~2.BIK|aid_cutscene_pinata_actor_animal_badger_mate.bik 25868860 8192 39 ... ul_catalog.63E949F6_03BC_5C40_FF1F_C8B3B9A1E18E uplevel.63E949F6_03BC_5C40_FF1F_C8B3B9A1E18E 805072~1.CAT|8.0.50727.762.cat 8355 8192 165 _9AF0665800683005F546520395B2458A bundles_packages 1.pkg 5703689 8192 166 _252946E994F93DE58207DD49FB5CE3C2 bundles_packages 10.pkg 1555185 8192 167 _BF36F4862B710AAF77F694A3CD597FD1 bundles_packages 100.pkg 4394447 8192 168 _5F8E564E91AFB49D1F5ABB567814C790 bundles_packages 101.pkg 5178831 8192 169 _B3E64B03A7A366A8BC19D523877FF8E4 bundles_packages 102.pkg 4871631 8192 170 --- snip ---
Dump of 'Media' table with ORCA:
--- snip --- DiskId LastSequence DiskPrompt Cabinet VolumeLabel Source i2 i2 L64 S255 S32 S72 Media DiskId 1 165 Viva Piñata Disc 1 VIVA_DISC1 2 810 Viva Piñata Disc 2 VIVA_DISC2 --- snip ---
Sequence id = 166 should trigger a media change request to disc 2.
--- snip --- $ WINEDEBUG=+seh,+loaddll,+process,+msi wine ./setup.exe >>~/log.txt 2>&1 ... 0050:trace:process:CreateProcessInternalW app (null) cmdline L"C:\users\focht\Temp\{D66C65E9-7A9C-4B34-BFEE-D0D98E0DB2C3}\setup.exe /q"D:\setup.exe" /tempdisk1folder"C:\users\focht\Temp\{D66C65E9-7A9C-4B34-BFEE-D0D98E0DB2C3}" " 0050:trace:process:find_exe_file looking for L"C:\users\focht\Temp\{D66C65E9-7A9C-4B34-BFEE-D0D98E0DB2C3}\setup.exe" 0050:trace:process:find_exe_file Trying native exe L"C:\users\focht\Temp\{D66C65E9-7A9C-4B34-BFEE-D0D98E0DB2C3}\setup.exe" 0050:trace:process:CreateProcessInternalW starting L"C:\users\focht\Temp\{D66C65E9-7A9C-4B34-BFEE-D0D98E0DB2C3}\setup.exe" as Win32 binary (400000-455000, x86) ... 0052:trace:process:init_current_directory starting in L"D:\" (nil) 0052:trace:process:__wine_kernel_init starting process name=L"C:\users\focht\Temp\{D66C65E9-7A9C-4B34-BFEE-D0D98E0DB2C3}\setup.exe" argv[0]=L"C:\users\focht\Temp\{D66C65E9-7A9C-4B34-BFEE-D0D98E0DB2C3}\setup.exe" 0052:trace:loaddll:load_native_dll Loaded L"C:\users\focht\Temp\{D66C65E9-7A9C-4B34-BFEE-D0D98E0DB2C3}\setup.exe" at 0x400000: native 0050:trace:process:CreateProcessInternalW started process pid 0051 tid 0052 ... 007e:trace:msi:MsiInstallProductA "D:\Viva Pinata.msi" "ADDLOCAL=disc1,disc2 ALLUSERS=1 ALLUSERSPROFILE=C:\ProgramData\ ARPCONTACT="Microsoft Product Support Services (PSS)" ARPHELPLINK=http://support.microsoft.com/VivaPinata ARPHELPTELEPHONE="1-(800) 537-8324" ARPNOMODIFY=1 ARPPRODUCTICON=ARPPRODUCTICON.exe ARPURLINFOABOUT=http://www.micr"... 007e:trace:msi:MsiInstallProductW L"D:\Viva Pinata.msi" L"ADDLOCAL=disc1,disc2 ALLUSERS=1 ALLUSERSPROFILE=C:\ProgramData\ ARPCONTACT="Microsoft Product Support Services (PSS)" ARPHELPLINK=http://support.microsoft.com/VivaPinata ARPHELPTELEPHONE="1-(800) 537-8324" ARPNOMODIFY=1 ARPPRODUCTICON=ARPPRODUCTICON.exe ARPURLINFOABOUT=http://www.mi"... 007e:trace:msi:MSI_OpenPackageW L"D:\Viva Pinata.msi" 0xccce48 ... 007e:trace:msi:MSI_ProcessMessageVerbatim Calling UI handler 0x10076636(pvContext=0x79a690, iMessageType=09000000, szMessage="File: FirewallInstallHelper.dll, Directory: INSTALLDIR, Size: 44904") ... 007e:trace:msi:msi_get_property returning L"D:\" for property L"SourceDir" 007e:trace:msi:msi_load_media_info sequence 1 -> cabinet (null) disk id 1 007e:trace:msi:msi_resolve_file_source Working to resolve source of file L"firewallinstallhelper.dll" 007e:trace:msi:msi_resolve_source_folder working to resolve L"INSTALLDIR" 007e:trace:msi:msi_resolve_source_folder ! parent is L"VIVA_PINATA" 007e:trace:msi:msi_resolve_source_folder working to resolve L"VIVA_PINATA" 007e:trace:msi:msi_resolve_source_folder ! parent is L"MICROSOFT_GAMES" 007e:trace:msi:msi_resolve_source_folder working to resolve L"MICROSOFT_GAMES" 007e:trace:msi:msi_resolve_source_folder ! parent is L"ProgramFilesFolder" 007e:trace:msi:msi_resolve_source_folder working to resolve L"ProgramFilesFolder" 007e:trace:msi:msi_resolve_source_folder ! parent is L"TARGETDIR" 007e:trace:msi:msi_resolve_source_folder working to resolve L"TARGETDIR" 007e:trace:msi:msi_get_property 0x214f80 L"OriginalDatabase" (nil) 0xccc13c ... 007e:trace:msi:msi_get_property returning L"D:\" for property L"SourceDir" 007e:trace:msi:msi_resolve_source_folder already resolved to L"D:\" 007e:trace:msi:msi_resolve_source_folder -> L"D:\program files\" 007e:trace:msi:msi_resolve_source_folder -> L"D:\program files\Microsoft Games\" 007e:trace:msi:msi_resolve_source_folder -> L"D:\program files\Microsoft Games\Viva Pinata\" 007e:trace:msi:msi_resolve_source_folder -> L"D:\program files\Microsoft Games\Viva Pinata\" 007e:trace:msi:msi_resolve_file_source file L"firewallinstallhelper.dll" source resolves to L"D:\program files\Microsoft Games\Viva Pinata\FirewallInstallHelper.dll" 007e:trace:msi:ACTION_InstallFiles copying L"D:\program files\Microsoft Games\Viva Pinata\FirewallInstallHelper.dll" to L"C:\Program Files (x86)\Microsoft Games\Viva Pinata\FirewallInstallHelper.dll" 007e:trace:msi:copy_install_file Copying L"D:\program files\Microsoft Games\Viva Pinata\FirewallInstallHelper.dll" to L"C:\Program Files (x86)\Microsoft Games\Viva Pinata\FirewallInstallHelper.dll" ... 007e:trace:msi:MSI_ProcessMessageVerbatim Calling UI handler 0x10076636(pvContext=0x79a690, iMessageType=09000000, szMessage="File: 1.pkg, Directory: BUNDLES_PACKAGES, Size: 5703689") ... 007e:trace:msi:MSI_ProcessMessageVerbatim Calling UI handler 0x10076636(pvContext=0x79a690, iMessageType=0a000000, szMessage="1: 2 2: 5703689 3: 0 4: 0 ") 007e:trace:msi:msiobj_release object 0x3424880 destroyed 007e:trace:msi:MSI_DatabaseOpenViewW L"SELECT * FROM `Media` WHERE `LastSequence` >= 166 ORDER BY `DiskId`" 0xccc24c ... 007e:trace:msi:msi_get_property returning L"D:\Viva Pinata.msi" for property L"OriginalDatabase" ... 007e:trace:msi:msi_get_property returning L"D:\" for property L"SourceDir" 007e:trace:msi:msi_load_media_info sequence 166 -> cabinet (null) disk id 2 ... 007e:trace:msi:msi_get_property returning L"D:\" for property L"SourceDir" 007e:trace:msi:MSI_DatabaseOpenViewW L"SELECT `Message` FROM `Error` WHERE `Error` = 1311" 0xccbb6c ... 007e:trace:msi:MSI_DatabaseOpenViewW L"SELECT `Message` FROM `Error` WHERE `Error` = 1" 0xccbb6c ... 007e:trace:msi:MSI_ProcessMessageVerbatim Calling UI handler 0x10076636(pvContext=0x79a690, iMessageType=01000005, szMessage="Error 1311.Source file not found: Viva Pi\xf1ata Disc 2. Verify that the file exists and that you can access it.") 0052:trace:msgbox:MSGBOX_OnInit L"Error 1311.Source file not found: Viva Pi\00f1ata Disc 2. Verify that the file exists and that you can access it." --- snip ---
1311 -> "Could not locate source file cabinet: [2]."
Change the media DVD1 -> DVD2:
--- snip --- $ wine eject --- snip ---
After mounting click 'Retry':
--- snip --- 007e:trace:msi:msi_resolve_file_source Working to resolve source of file L"_9AF0665800683005F546520395B2458A" 007e:trace:msi:msi_resolve_source_folder working to resolve L"BUNDLES_PACKAGES" 007e:trace:msi:msi_resolve_source_folder ! parent is L"INSTALLDIR" 007e:trace:msi:msi_resolve_source_folder working to resolve L"INSTALLDIR" 007e:trace:msi:msi_resolve_source_folder already resolved to L"D:\program files\Microsoft Games\Viva Pinata\" 007e:trace:msi:msi_resolve_source_folder -> L"D:\program files\Microsoft Games\Viva Pinata\bundles_packages\" 007e:trace:msi:msi_resolve_file_source file L"_9AF0665800683005F546520395B2458A" source resolves to L"D:\program files\Microsoft Games\Viva Pinata\bundles_packages\1.pkg" 007e:trace:msi:ACTION_InstallFiles copying L"D:\program files\Microsoft Games\Viva Pinata\bundles_packages\1.pkg" to L"C:\Program Files (x86)\Microsoft Games\Viva Pinata\bundles_packages\1.pkg" 007e:trace:msi:copy_install_file Copying L"D:\program files\Microsoft Games\Viva Pinata\bundles_packages\1.pkg" to L"C:\Program Files (x86)\Microsoft Games\Viva Pinata\bundles_packages\1.pkg" 007e:trace:msi:MSI_ProcessMessageVerbatim 9000000 007e:trace:msi:MSI_FormatRecordW 0x30192a8 0x3425198 (nil) 0xccc258 007e:trace:msi:msiobj_release object 0x1c1b888 destroyed 007e:trace:msi:MSI_FormatRecordW 0x30192a8 0x3425198 0x3422b80 0xccc258 007e:trace:msi:msiobj_release object 0x1c1b888 destroyed 007e:trace:msi:MSI_ProcessMessageVerbatim Calling UI handler 0x10076636(pvContext=0x79a690, iMessageType=09000000, szMessage="File: 10.pkg, Directory: BUNDLES_PACKAGES, Size: 1555185") 007e:trace:msi:msiobj_release object 0x3425198 destroyed 007e:trace:msi:MSI_ProcessMessageVerbatim a000000 007e:trace:msi:MSI_FormatRecordW 0x30192a8 0x342a978 (nil) 0xccc208 007e:trace:msi:msiobj_release object 0x3424880 destroyed 007e:trace:msi:MSI_FormatRecordW 0x30192a8 0x342a978 0x3425b00 0xccc208 007e:trace:msi:msiobj_release object 0x3cf0028 destroyed 007e:trace:msi:MSI_ProcessMessageVerbatim Calling UI handler 0x10076636(pvContext=0x79a690, iMessageType=0a000000, szMessage="1: 2 2: 1555185 3: 0 4: 0 ") 007e:trace:msi:msiobj_release object 0x342a978 destroyed 007e:trace:msi:msi_resolve_file_source Working to resolve source of file L"_252946E994F93DE58207DD49FB5CE3C2" 007e:trace:msi:msi_resolve_source_folder working to resolve L"BUNDLES_PACKAGES" 007e:trace:msi:msi_resolve_source_folder already resolved to L"D:\program files\Microsoft Games\Viva Pinata\bundles_packages\" 007e:trace:msi:msi_resolve_file_source file L"_252946E994F93DE58207DD49FB5CE3C2" source resolves to L"D:\program files\Microsoft Games\Viva Pinata\bundles_packages\10.pkg" 007e:trace:msi:ACTION_InstallFiles copying L"D:\program files\Microsoft Games\Viva Pinata\bundles_packages\10.pkg" to L"C:\Program Files (x86)\Microsoft Games\Viva Pinata\bundles_packages\10.pkg" 007e:trace:msi:copy_install_file Copying L"D:\program files\Microsoft Games\Viva Pinata\bundles_packages\10.pkg" to L"C:\Program Files (x86)\Microsoft Games\Viva Pinata\bundles_packages\10.pkg" ... 007e:trace:msi:MSI_ProcessMessageVerbatim Calling UI handler 0x10076636(pvContext=0x79a690, iMessageType=04000000, szMessage="Action ended 9:32:06: INSTALL. Return value 1.") ... 0052:trace:msi:msi_get_property returning L"1" for property L"Installed" 0052:trace:msi:MSI_SetFeatureStates examining feature L"disc1" (level 1 installed 4 request -1 action -1) 0052:trace:msi:MSI_SetFeatureStates examining feature L"disc2" (level 1 installed 3 request -1 action -1) 0052:trace:msi:MSI_SetFeatureStates component L"bundles" (installed 3 request 3 action 3) 0052:trace:msi:MSI_SetFeatureStates component L"datacx" (installed 3 request 3 action 3) 0052:trace:msi:MSI_SetFeatureStates component L"debug" (installed 3 request 3 action 3) 0052:trace:msi:MSI_SetFeatureStates component L"movie" (installed 3 request 3 action 3) 0052:trace:msi:MSI_SetFeatureStates component L"shaders" (installed 3 request 3 action 3) 0052:trace:msi:MSI_SetFeatureStates component L"FirewallInstallHelper.dll" (installed 3 request 3 action 3) ... 0052:trace:msi:MsiSetTargetPathW L"INSTALLDIR" L"C:\Program Files (x86)\Microsoft Games\Viva Pinata\" 0052:trace:msi:MSI_SetTargetPathW 0x303bdf0 L"INSTALLDIR" L"C:\Program Files (x86)\Microsoft Games\Viva Pinata\" --- snip ---
Asks 'Please insert the disk labeled: Viva Pinata Disc 1' in order to install additional runtimes (DirectX, XLive, ..)
--- snip --- $ wine eject --- snip ---
After mounting click 'OK':
--- snip --- 009a:trace:process:__wine_kernel_init starting process name=L"C:\users\focht\Temp\DXf7a4.tmp\infinst.exe" argv[0]=L"C:\users\focht\Temp\DXf7a4.tmp\infinst.exe" 009a:trace:loaddll:load_native_dll Loaded L"C:\users\focht\Temp\DXf7a4.tmp\infinst.exe" at 0x100000000: native 0052:trace:process:CreateProcessInternalW started process pid 0099 tid 009a ... 0052:trace:process:CreateProcessInternalW app (null) cmdline L"C:\users\focht\Temp\DXf7a4.tmp\infinst.exe d3dx9_25_x64.inf" ... 0052:trace:process:CreateProcessInternalW starting L"C:\users\focht\Temp\DXf7a4.tmp\infinst.exe" as Win64 binary (100000000-100010000, x86_64) ... 009c:trace:process:init_current_directory starting in L"D:\" (nil) 009c:trace:process:__wine_kernel_init starting process name=L"C:\users\focht\Temp\DXf7a4.tmp\infinst.exe" argv[0]=L"C:\users\focht\Temp\DXf7a4.tmp\infinst.exe" 009c:trace:loaddll:load_native_dll Loaded L"C:\users\focht\Temp\DXf7a4.tmp\infinst.exe" at 0x100000000: native 0052:trace:process:CreateProcessInternalW started process pid 009b tid 009c ... 0052:trace:process:CreateProcessInternalW app (null) cmdline L"C:\windows\system32\regsvr32.exe /s C:\windows\system32\xactengine2_9.dll" ... 0052:trace:process:CreateProcessInternalW starting L"C:\windows\system32\regsvr32.exe" as Win64 binary (400000-430000, x86_64) ... 00e6:trace:process:init_current_directory starting in L"D:\" (nil) 00e6:trace:process:__wine_kernel_init starting process name=L"C:\windows\system32\regsvr32.exe" argv[0]=L"C:\windows\system32\regsvr32.exe" 00e6:trace:loaddll:load_native_dll Loaded L"C:\windows\system32\regsvr32.exe" at 0x400000: PE builtin 0052:trace:process:CreateProcessInternalW started process pid 00e5 tid 00e6 ... 0052:trace:process:CreateProcessInternalW app (null) cmdline L"C:\windows\syswow64\msiexec.exe /iD:\XLiveRedist1.1.0324.msi /quiet" ... 0052:trace:process:CreateProcessInternalW starting L"C:\windows\syswow64\msiexec.exe" as Win32 binary (400000-43a000, x86) ... 00e8:trace:process:init_current_directory starting in L"C:\windows\syswow64\" 0x1c 00e8:trace:process:__wine_kernel_init starting process name=L"C:\windows\syswow64\msiexec.exe" argv[0]=L"C:\windows\syswow64\msiexec.exe" 00e8:trace:loaddll:load_native_dll Loaded L"C:\windows\syswow64\msiexec.exe" at 0x400000: PE builtin 0052:trace:process:CreateProcessInternalW started process pid 00e7 tid 00e8 ... --- snip ---
The only thing that comes to my mind that could cause this kind of failure is that you run the installer from a mount path that resolves to "z:\" which by design is a fixed drive. Your logs seem to indicate this.
You have to run the installer from a path/drive that resolves to 'removable' media type, i.e. 'wine d:\setup.exe'. Otherwise the following code path is not taken (mi->type) which causes media change request:
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/msi/media.c#l900
--- snip --- ... 900 /* check volume matches, change media if not */ 901 if (mi->volume_label) 902 { 903 /* assume first volume is in the drive */ 904 if (mi->last_volume && strcmpiW( mi->last_volume, mi->volume_label )) 905 { 906 WCHAR *source = msi_dup_property( package->db, szSourceDir ); 907 BOOL match = source_matches_volume( mi, source ); 908 msi_free( source ); 909 910 if (!match && (mi->type == DRIVE_CDROM || mi->type == DRIVE_REMOVABLE)) 911 { 912 if ((rc = msi_change_media( package, mi )) != ERROR_SUCCESS) 913 { 914 msi_free( cabinet_file ); 915 return rc; 916 } 917 } 918 } 919 920 msi_free(mi->last_volume); 921 mi->last_volume = strdupW(mi->volume_label); 922 } ... --- snip ---
$ wine --version wine-4.9-216-g381c4e7b66
Regards