[Bug 25963] Dead Space 2 dvd installer fails to switch discs (no ready_media/msi_change_media for normal files)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Oct 15 07:35:03 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=25963

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Dead Space 2 dvd installer  |Dead Space 2 dvd installer
                   |fails to switch discs       |fails to switch discs (no
                   |                            |ready_media/msi_change_medi
                   |                            |a for normal files)

--- Comment #3 from Anastasius Focht <focht at gmx.net> 2011-10-15 07:35:03 CDT ---
Hello,

looking at the bug again, the sequence handling is fine.
The problem is actually ACTION_InstallFiles() -> ready_media().

ACTION_InstallFiles:

http://source.winehq.org/git/wine.git/blob/cda63b8a3820de7864c663ab79d47c431eb9038f:/dlls/msi/files.c#l311

ready_media:

http://source.winehq.org/git/wine.git/blob/7b7c95425a8d23ca0a30756017018aca32533702:/dlls/msi/media.c#l841

ready_media() doesn't do anything if the source file is a _normal_ file.

They put several large files "DS2DATx.DAT" on DVD1 and DVD2 to be simply copied
to target folder.

I refactored the code to allow volume id/media change detection also for normal
files and it helped.
The installer asked for second DVD and completed successfully.

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list