From 27e90274b52fa560994614b84075a2dab17f8cb3 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Tue, 23 Mar 2010 11:46:24 +0100 Subject: [PATCH] msi: Set the action taken in the ProcessComponents and InstallFiles actions. --- dlls/msi/action.c | 1 + dlls/msi/files.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/dlls/msi/action.c b/dlls/msi/action.c index 0d0e33367b3..028b4f0e362 100644 --- a/dlls/msi/action.c +++ b/dlls/msi/action.c @@ -2993,6 +2993,7 @@ static UINT ACTION_ProcessComponents(MSIPACKAGE *package) else MSIREG_DeleteUserDataComponentKey(comp->ComponentId, NULL); } + comp->Action = comp->ActionRequest; /* UI stuff */ uirow = MSI_CreateRecord(3); diff --git a/dlls/msi/files.c b/dlls/msi/files.c index 40501636af2..bb5b197462a 100644 --- a/dlls/msi/files.c +++ b/dlls/msi/files.c @@ -98,6 +98,8 @@ static void schedule_install_files(MSIPACKAGE *package) ui_progress(package,2,file->FileSize,0,0); file->state = msifs_skipped; } + else + file->Component->Action = INSTALLSTATE_LOCAL; } }