http://bugs.winehq.org/show_bug.cgi?id=19126
Summary: VS 2005 SP1 installation failure Product: Wine Version: unspecified Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msi AssignedTo: wine-bugs@winehq.org ReportedBy: mathieu.malaterre@gmail.com
Created an attachment (id=22089) --> (http://bugs.winehq.org/attachment.cgi?id=22089) wine bug report
I cannot install Visual Studio 2005 SP1 in order to fix an issue with Visual Studio Express 2005.
Original mail posted to wine ML:
I am trying to install Visual Studio 2005 under wine, I followed instructions from:
http://appdb.winehq.org/objectManager.php?sClass=version&iId=14208
While running wine 1.1.22/debian stable I am getting the following error:
... Z:\tmp\gdcm-wine\CMakeFiles\CMakeTmp\testCCompiler.c : fatal error C1902: Program database manager mismatch; please check your installation ...
Looking up on the web, it seems it can be fixed using the VS 2005 SP1, which I downloaded from: http://support.microsoft.com/kb/928957
Unfortunately I cannot install this SP1:
$ wine VS80sp1-KB926748-X86-INTL.exe fixme:storage:StgCreateDocfile Storage share mode not implemented. fixme:storage:StorageImpl_Commit (0x133768 0): stub err:msi:MSI_OpenDatabaseW storage GUID is not a MSI database GUID {000c1082-0000-0000-c000-000000000046} fixme:msi:MsiGetLastErrorRecord
Creating attachement:
$ wine VS80sp1-KB926748-X86-INTL.exe >& /tmp/wine.log
http://bugs.winehq.org/show_bug.cgi?id=19126
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #1 from Anastasius Focht focht@gmx.net 2009-06-29 15:54:19 --- Hello,
Wine's msi ignores embedded transforms stored in patch file (GUID 000C1082-0000-0000-C000-000000000046).
See:
http://blogs.msdn.com/heaths/archive/2006/02/27/539960.aspx ("Identifying Windows Installer File Types")
--- snip --- ... 0028:Call msi.MsiGetSummaryInformationA(00000000,0032fc84 "C:\windows\temp\f97.tmp",00000000,0032fc20) ret=01014f25 ... 0028:trace:msi:MsiGetSummaryInformationW 0 L"C:\windows\temp\f97.tmp" 0 0x32fc20 0028:trace:msi:MSI_OpenDatabaseW L"C:\windows\temp\f97.tmp" (null) 0028:Call ole32.StgOpenStorage(0013d0e8 L"C:\windows\temp\f97.tmp",00000000,00000020,00000000,00000000,0032fa6c) ret=70511891 0028:Call KERNEL32.CreateFileW(0013d0e8 L"C:\windows\temp\f97.tmp",80000000,00000001,00000000,00000003,10000080,00000000) ret=7067410d 0028:Ret KERNEL32.CreateFileW() retval=00000070 ret=7067410d ... 0028:Ret ole32.StgOpenStorage() retval=00000000 ret=70511891 ... 0028:err:msi:MSI_OpenDatabaseW storage GUID is not a MSI database GUID {000c1082-0000-0000-c000-000000000046} ... 0028:Ret msi.MsiGetSummaryInformationA() retval=0000065b ret=01014f25 0028:Call msi.MsiGetLastErrorRecord() ret=01011e3b 0028:fixme:msi:MsiGetLastErrorRecord 0028:Ret msi.MsiGetLastErrorRecord() retval=00000000 ret=01011e3b 0028:Call KERNEL32.CreateFileA(004a2770 "C:\windows\temp\VS80sp1-KB926750-X86-ENU\VS80sp1-KB926750-X86-ENU-wrapper.log",40000000,00000001,00000000,00000004,00000080,00000000) ret=01011c66 --- snip ---
--- snip msi/dlls/database.c --- UINT MSI_OpenDatabaseW(LPCWSTR szDBPath, LPCWSTR szPersist, MSIDATABASE **pdb) { ... if( szPersist == MSIDBOPEN_READONLY ) { r = StgOpenStorage( szDBPath, NULL, STGM_DIRECT|STGM_READ|STGM_SHARE_DENY_WRITE, NULL, 0, &stg); } ... if( FAILED( r ) || !stg ) { FIXME("open failed r = %08x for %s\n", r, debugstr_w(szDBPath)); return ERROR_FUNCTION_FAILED; }
r = IStorage_Stat( stg, &stat, STATFLAG_NONAME ); if( FAILED( r ) ) { FIXME("Failed to stat storage\n"); goto end; }
if ( !IsEqualGUID( &stat.clsid, &CLSID_MsiDatabase ) && !IsEqualGUID( &stat.clsid, &CLSID_MsiPatch ) ) { ERR("storage GUID is not a MSI database GUID %s\n", debugstr_guid(&stat.clsid) ); goto end; } --- snip msi/dlls/database.c ---
Though it should be able to load summary info from transforms with minor effort.
---
As side note, the patch installer also produces its own log file to make diagnosis easier. Though Wine debugging channels are much more verbose ;-)
See: http://blogs.msdn.com/heaths/archive/2005/10/20/483129.aspx
--- snip VS80sp1-KB926750-X86-ENU-wrapper.log --- ... + Initializing patch object from patch package + Releasing products - Releasing products Accessing summary info for LastSavedBy + Loading summary info from file - Loading summary info from file LastSavedBy = :T2_26ToU295_26;:#T2_26ToU295_26 Products counted, 1 found Initializing all products found + Creating temporary file - Creating temporary file + Transform extraction... Extracting transform 'T2_26ToU295_26' to "C:\windows\temp\f97.tmp" - Transform extraction... + Initializing product from transform + Loading summary info from file ERROR: [1627] Failed to get summary information. - Loading summary info from file ERROR [1627]: ERROR_FUNCTION_FAILED
- Initializing product from transform ERROR [1627]: ERROR_FUNCTION_FAILED
- Initializing patch object from patch package ERROR [1627]: ERROR_FUNCTION_FAILED ... --- snip VS80sp1-KB926750-X86-ENU-wrapper.log ---
Regards
http://bugs.winehq.org/show_bug.cgi?id=19126
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@meelstraat.net
--- Comment #2 from Hans Leidekker hans@meelstraat.net 2009-06-30 10:07:25 --- Fixed by 60b7604aa18089fcec5b336a06901f7f4cef80f0.
http://bugs.winehq.org/show_bug.cgi?id=19126
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #3 from Juan Lang juan_lang@yahoo.com 2009-06-30 16:37:34 --- Fixed then.
http://bugs.winehq.org/show_bug.cgi?id=19126
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2009-07-03 12:30:16 --- Closing bugs fixed in 1.1.25.
http://bugs.winehq.org/show_bug.cgi?id=19126
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |60b7604aa18089fcec5b336a069 | |01f7f4cef80f0
http://bugs.winehq.org/show_bug.cgi?id=19126
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |http://www.microsoft.com/en | |-us/download/details.aspx?i | |d=5553 Version|unspecified |1.1.22