Commit 4ef765cb authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Don't try to ready media for files from a previous installation or files that will be skipped.

parent c7e5f033
......@@ -331,6 +331,8 @@ UINT ACTION_InstallFiles(MSIPACKAGE *package)
if (!file->Component->Enabled) continue;
if (file->state != msifs_hashmatch &&
file->state != msifs_skipped &&
(file->state != msifs_present || !msi_get_property_int( package->db, szInstalled, 0 )) &&
(rc = ready_media( package, file->IsCompressed, mi )))
{
ERR("Failed to ready media for %s\n", debugstr_w(file->File));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment