James Hawkins : msi: Only check the volume label for every media after the first disk.
Module: wine Branch: master Commit: 666cfd1c0346904dc5d3c27eee80ce871bec26ca URL: http://source.winehq.org/git/wine.git/?a=commit;h=666cfd1c0346904dc5d3c27eee... Author: James Hawkins <truiken(a)gmail.com> Date: Thu May 10 10:57:41 2007 -0500 msi: Only check the volume label for every media after the first disk. --- dlls/msi/files.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/msi/files.c b/dlls/msi/files.c index 2aeefd3..9717537 100644 --- a/dlls/msi/files.c +++ b/dlls/msi/files.c @@ -606,7 +606,7 @@ static UINT ready_media(MSIPACKAGE *package, MSIFILE *file, struct media_info *m return ERROR_FUNCTION_FAILED; } - if (mi->volume_label) + if (mi->volume_label && mi->disk_id > 1) { source_dir = msi_dup_property(package, cszSourceDir); PathStripToRootW(source_dir);
participants (1)
-
Alexandre Julliard