I stream multiple files from a basic msi during an install. The code works fine.

When I use the same code to stream the same files, but from a merge module, in the same install, the first file streams successfully. The second file fails on MsiViewFetch. The call to MsiViewExecute, proceeding the call to MsiViewFetch succeeds.

The code is a function that's called for each file that needs to be streamed.

I use PMSIHANDLE for all handles.

The call to MsiVeiwFetch returns 259 which I believe is ERROR_NO_MORE_ITEMS.

Select used strSelect.Format(TEXT("SELECT `Data` FROM Binary WHERE `Name`='%s'"), strFileName);

When streaming from the MSI, strFileName is the Name in the Binary Files table. When streaming from the MSM, strFileName is the Name plus .MODULE_ID_GUID where MODULE_ID_GUID is the Module ID Guid in the MSM.

Does anyone know of outstanding problems with streaming files from the Binary Files table in an MSM at install time?