http://bugs.winehq.org/show_bug.cgi?id=29957
Bug #: 29957 Summary: Silverlight 4 does not install Product: WineHQ Apps Database Version: unspecified Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: appdb-unknown AssignedTo: wine-bugs@winehq.org ReportedBy: andrew.thomas.riker@gmail.com Classification: Unclassified
Created attachment 38988 --> http://bugs.winehq.org/attachment.cgi?id=38988 Terminal output for Silverlight 4 installer
The installer exits before it is finished, and reports "Unable to install Silverlight".
http://bugs.winehq.org/show_bug.cgi?id=29957
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|appdb-unknown |-unknown Version|unspecified |1.4-rc4 Product|WineHQ Apps Database |Wine
--- Comment #1 from Rosanne DiMesio dimesio@earthlink.net 2012-02-20 12:17:46 CST --- Not an AppDB bug. Confirming for 1.4-rc4.
Note that the Silverlight 4 installer is no longer available from Microsoft, and this bug does not affect the (currently available) Silverlight 5 installer.
http://bugs.winehq.org/show_bug.cgi?id=29957
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #2 from Rosanne DiMesio dimesio@earthlink.net 2012-02-20 12:18:04 CST --- Really confirming this time.
http://bugs.winehq.org/show_bug.cgi?id=29957
--- Comment #3 from Hans Leidekker hans@meelstraat.net 2012-02-20 13:31:22 CST --- Does the workaround from http://bugs.winehq.org/show_bug.cgi?id=18345#c23 help here?
http://bugs.winehq.org/show_bug.cgi?id=29957
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer
http://bugs.winehq.org/show_bug.cgi?id=29957
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.oldapps.com/silv | |erlight.php?old_silverlight | |=11 CC| |focht@gmx.net Component|-unknown |kernel32 Summary|Silverlight 4 does not |Silverlight 4 does not |install |install (Microsoft | |PlayReady DRM scheme | |requires | |FILE_PERSISTENT_ACLS if | |returned filesystem type is | |NTFS)
--- Comment #4 from Anastasius Focht focht@gmx.net 2012-02-20 17:31:30 CST --- Hello,
the problem here is that a custom action creates the folder "C:\users\Public\Application Data\Microsoft\PlayReady" depending on certain filesystem properties of "c:".
View "Silverlight.msp" using "orca":
"InstallExecuteSequence" table:
--- snip --- SetupPlayReadyData (Not Installed or REINSTALL) and (VersionNT > 500) 6602 --- snip ---
"CustomAction" table:
--- snip --- SetupPlayReadyData 81 SLMSPRBootstrapDLL SetupPlayReadyData --- snip ---
Trace log:
--- snip --- 0025:Call KERNEL32.LoadLibraryW(0032f010 L"C:\Program Files\Microsoft Silverlight\4.0.60531.0\SLMSPRBootstrap.dll") ret=0100853c ... 0025:Ret PE DLL (proc=0x6681b7,module=0x650000 L"SLMSPRBootstrap.dll",reason=PROCESS_ATTACH,res=(nil)) retval=1 0025:Ret KERNEL32.LoadLibraryW() retval=00650000 ret=0100853c 0025:Call KERNEL32.GetProcAddress(00650000,01002bf0 "SetupPlayReadyData") ret=01008559 0025:Ret KERNEL32.GetProcAddress() retval=006c0022 ret=01008559 0025:CALL SLMSPRBootstrap.SetupPlayReadyData(<unknown, check return>) ret=0100856a ... 0025:Call advapi32.RegOpenKeyExW(80000002,006520f0 L"SOFTWARE\Microsoft\PlayReady",00000000,00020119,0032ef78) ret=00661c7c 0025:Ret advapi32.RegOpenKeyExW() retval=00000000 ret=00661c7c ... 0025:Call KERNEL32.GetFileAttributesW(00180d10 L"C:\users\Public\Application Data\Microsoft\PlayReady") ret=0069250c 0025:Ret KERNEL32.GetFileAttributesW() retval=ffffffff ret=0069250c ... 0025:Call KERNEL32.GetFullPathNameW(00180d10 L"C:\users\Public\Application Data\Microsoft\PlayReady",00000105,0032eb34,00000000) ret=0069453d 0025:Ret KERNEL32.GetFullPathNameW() retval=00000034 ret=0069453d 0025:Call shlwapi.PathStripToRootW(0032eb34 L"C:\users\Public\Application Data\Microsoft\PlayReady") ret=00694582 0025:Ret shlwapi.PathStripToRootW() retval=00000001 ret=00694582 0025:Call KERNEL32.GetVolumeInformationW(0032eb34 L"C:\",00000000,00000000,00000000,00000000,0032eb2c,0032ed40,00000105) ret=006945a6 0025:Ret KERNEL32.GetVolumeInformationW() retval=00000001 ret=006945a6 ... 0025:RET SLMSPRBootstrap.SetupPlayReadyData(00000000) retval=00000643 ret=0100856a --- snip ---
You have to debug the custom action to really see what's going on (code decrypted at runtime)...
GetVolumeInformationW() is the culprit here.
The code checks "lpFileSystemFlags" for 0x8 (FILE_PERSISTENT_ACLS) or lpFileSystemNameBuffer[0..2] == 'F','A','T'. If none of these conditions are met, an internal error is set (translated to generic 1603) and the folder is not created.
Wine reports default 'NTFS' filesystem but "lpFileSystemFlags" only contains "FILE_CASE_PRESERVED_NAMES" hence it fails here.
Code: http://source.winehq.org/git/wine.git/blob/d5ad5ca91ca6aa1a3eb2a3849bb0dbcb6...
--- snip --- 653 BOOL WINAPI GetVolumeInformationW( LPCWSTR root, LPWSTR label, DWORD label_len, 654 DWORD *serial, DWORD *filename_len, DWORD *flags, 655 LPWSTR fsname, DWORD fsname_len ) 656 { ... 771 switch(type) 772 { ... 791 default: 792 if (fsname) lstrcpynW( fsname, ntfsW, fsname_len ); 793 if (filename_len) *filename_len = 255; 794 if (flags) *flags = FILE_CASE_PRESERVED_NAMES; 795 break; 796 } --- snip ---
If you add FILE_PERSISTENT_ACLS the custom action tries to create the folder but fails because a part of folder -> "Microsoft" is not present. This is another bug.
--- snip --- 0024:Call KERNEL32.GetFullPathNameW(00181770 L"C:\users\Public\Application Data\Microsoft\PlayReady",00000105,0032eb34,00000000) ret=0069453d 0024:Ret KERNEL32.GetFullPathNameW() retval=00000034 ret=0069453d 0024:Call shlwapi.PathStripToRootW(0032eb34 L"C:\users\Public\Application Data\Microsoft\PlayReady") ret=00694582 0024:Ret shlwapi.PathStripToRootW() retval=00000001 ret=00694582 0024:Call KERNEL32.GetVolumeInformationW(0032eb34 L"C:\",00000000,00000000,00000000,00000000,0032eb2c,0032ed40,00000105) ret=006945a6 0024:Ret KERNEL32.GetVolumeInformationW() retval=00000001 ret=006945a6 0024:Call KERNEL32.GetVersionExW(0032ee1c) ret=00693e5f 0024:Ret KERNEL32.GetVersionExW() retval=00000001 ret=00693e5f 0024:Call advapi32.ConvertStringSecurityDescriptorToSecurityDescriptorW(00651fa0 L"D:(A;CIOI;GA;;;SY)(A;CIOI;GA;;;BA)(A;CIOI;GA;;;BU)(A;CIOI;GA;;;AU)",00000001,0032ef70,00000000) ret=00693f33 0024:Ret advapi32.ConvertStringSecurityDescriptorToSecurityDescriptorW() retval=00000001 ret=00693f33 0024:Call KERNEL32.CreateDirectoryW(00181770 L"C:\users\Public\Application Data\Microsoft\PlayReady",0032ef6c) ret=006929b6 0024:Ret KERNEL32.CreateDirectoryW() retval=00000000 ret=006929b6 0024:Call KERNEL32.GetLastError() ret=00692358 0024:Ret KERNEL32.GetLastError() retval=00000003 ret=00692358 ... 0024:RET SLMSPRBootstrap.SetupPlayReadyData(00000000) retval=00000643 ret=0100856a --- snip ---
Regards
http://bugs.winehq.org/show_bug.cgi?id=29957
Robert Walker robert_mt_walker@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |robert_mt_walker@yahoo.co.u | |k
http://bugs.winehq.org/show_bug.cgi?id=29957
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |29099
http://bugs.winehq.org/show_bug.cgi?id=29957
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ehoover@mines.edu
--- Comment #5 from Hans Leidekker hans@meelstraat.net 2012-07-25 00:42:58 CDT --- *** Bug 31307 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=29957
--- Comment #6 from Erich Hoover ehoover@mines.edu 2012-07-25 08:47:02 CDT --- Wow, I really wish I had found this bug before tediously going over everything in my relay log in order to create attachment 41142. If I could get some feedback on that patch then I'll revise/submit it (in two pieces, one for FILE_PERSISTENT_ACLS and one for the "Microsoft" directory).
http://bugs.winehq.org/show_bug.cgi?id=29957
Adrian Kalla adrian.kalla@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adrian.kalla@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=29957
--- Comment #7 from Erich Hoover ehoover@mines.edu 2012-09-20 15:27:59 CDT --- This bug should now be fixed by commit 7eb0d62b3d155f1e4099bf7778e4febf30dacdb6.
http://bugs.winehq.org/show_bug.cgi?id=29957
Erich Hoover ehoover@mines.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.oldapps.com/silv |http://go.microsoft.com/fwl |erlight.php?old_silverlight |ink/?LinkID=149156&v=4.0 |=11 |
--- Comment #8 from Erich Hoover ehoover@mines.edu 2012-10-05 18:55:45 CDT --- Silverlight 4 is still available from Microsoft at the URL: http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0
Andrew, would you mind testing and confirming that this issue is fixed?
http://bugs.winehq.org/show_bug.cgi?id=29957
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |7eb0d62b3d155f1e4099bf7778e | |4febf30dacdb6 Status|NEW |RESOLVED URL|http://go.microsoft.com/fwl |http://www.oldapps.com/silv |ink/?LinkID=149156&v=4.0 |erlight.php?old_silverlight | |=11?download Resolution| |FIXED
--- Comment #9 from Anastasius Focht focht@gmx.net 2012-10-06 03:14:10 CDT --- Hello Erich,
the installer works fine, marking fixed. Thanks.
The "OldApps" archive has various Silverlight versions available which will last longer than Microsofts own downloads:
http://www.oldapps.com/silverlight.php?old_silverlight
$ wine --version wine-1.5.14-183-g5c53c94
$ sha1sum Silverlight4.0.60531.0.exe 98888055263b9bb606dcf4842c73d08193639026 Silverlight4.0.60531.0.exe
$ du -sh Silverlight4.0.60531.0.exe 6.0M Silverlight4.0.60531.0.exe
Regards
http://bugs.winehq.org/show_bug.cgi?id=29957
Erich Hoover ehoover@mines.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |31589
--- Comment #10 from Erich Hoover ehoover@mines.edu 2012-10-08 19:15:25 CDT --- Thanks Anastasius! FYI, I've split out some other PlayReady issues I've encountered into Bug #31589, Bug #31858, and Bug #31881.
http://bugs.winehq.org/show_bug.cgi?id=29957
--- Comment #11 from Andrew Riker andrew.thomas.riker@gmail.com 2012-10-10 11:45:30 CDT --- I can also confirm that Silverlight 4 installed for me, but I was unable to test any online applications due to Wine internet connection troubles.
http://bugs.winehq.org/show_bug.cgi?id=29957
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org 2012-10-12 13:34:28 CDT --- Closing bugs fixed in 1.5.15.
https://bugs.winehq.org/show_bug.cgi?id=29957
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.oldapps.com/silv |https://web.archive.org/web |erlight.php?old_silverlight |/20101224185549/http://down |=11?download |load.microsoft.com/download | |/3/6/1/36190D2A-4138-4733-8 | |48E-5BB3D7ED960B/50917.00/r | |untime/Silverlight.exe