http://bugs.winehq.org/show_bug.cgi?id=12332
Jeff Muizelaar jrmuizel@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jrmuizel@gmail.com
--- Comment #9 from Jeff Muizelaar jrmuizel@gmail.com --- It's crashing in SetupCloseFileQueue. The handle that it passes to SetupCloseFileQueue doesn't match the handle it gets back from SetupOpenFileQueue. This mismatch seems to happen even on real Windows so the real SetupCloseFileQueue must be doing a check of some sort to avoid crashing.
However, an even larger problem than the crash is that the extraction doesn't work at all. If you look at the setupapi log there are lines like:
fixme:setupapi:extract_cabinet_file awful hack: extracting cabinet "C:\WINDDK\3790.1830\CMNINCS.cab" trace:setupapi:SetupDefaultQueueCallbackA end copy "C:\WINDDK\3790.1830\CMNINCS_FILE_131" -> "C:\WINDDK\3790.1830\\inc\crt\ciso646" trace:setupapi:SetupDefaultQueueCallbackA start copy "C:\WINDDK\3790.1830\CMNINCS_FILE_132" -> "C:\WINDDK\3790.1830\\inc\crt\climits" trace:setupapi:SetupCommitFileQueueW copying file L"C:\WINDDK\3790.1830\CMNINCS_FILE_132" -> L"C:\WINDDK\3790.1830\\inc\crt\climits" trace:setupapi:do_file_copyW copy L"C:\WINDDK\3790.1830\CMNINCS_FILE_132" to L"C:\WINDDK\3790.1830\\inc\crt\climits" style 0x4 trace:setupapi:do_file_copyW SizeTarget 0 ... SizeSource 0 trace:setupapi:do_file_copyW Did copy... rc was 0
But there is no C:\WINDDK\3790.1830\CMNINCS.cab to extract from and thus no C:\WINDDK\3790.1830\CMNINCS_FILE_132 to copy to C:\WINDDK\3790.1830\\inc\crt\climits
Basiclly what seems to be happening is a call to SetupInstallFilesFromInfSectionA and with a SourceRootPath of "C:\WINDDK\3790.1830\" this confuses the wine setupapi.dll but the windows setupapi.dll manages to get the correct source for the files.