Commit 8e22e7d7 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Stub implementation of the MoveFiles action.

parent 357a484a
......@@ -85,6 +85,7 @@ static UINT ACTION_ExecuteAction(MSIPACKAGE *package);
static UINT ACTION_RegisterFonts(MSIPACKAGE *package);
static UINT ACTION_PublishComponents(MSIPACKAGE *package);
static UINT ACTION_RemoveIniValues(MSIPACKAGE *package);
static UINT ACTION_MoveFiles(MSIPACKAGE *package);
/*
* consts and values used
......@@ -295,7 +296,7 @@ static struct _actions StandardActions[] = {
{ szIsolateComponents, NULL},
{ szLaunchConditions, ACTION_LaunchConditions },
{ szMigrateFeatureStates, NULL},
{ szMoveFiles, NULL},
{ szMoveFiles, ACTION_MoveFiles },
{ szMsiPublishAssemblies, NULL},
{ szMsiUnpublishAssemblies, NULL},
{ szInstallODBC, NULL},
......@@ -4025,3 +4026,24 @@ static UINT ACTION_RemoveIniValues(MSIPACKAGE *package)
return ERROR_SUCCESS;
}
static UINT ACTION_MoveFiles(MSIPACKAGE *package)
{
static const WCHAR query[] =
{'S','E','L','E','C','T',' ','*',' ','F','R','O','M',' ',
'M','o','v','e','F','i','l','e',0 };
MSIQUERY *view = NULL;
DWORD count = 0;
UINT rc;
rc = MSI_DatabaseOpenViewW(package->db, query, &view);
if (rc == ERROR_SUCCESS)
{
rc = MSI_IterateRecords(view, &count, NULL, package);
if (count)
FIXME("%lu ignored MoveFile table values\n", count);
msiobj_release(&view->hdr);
}
return ERROR_SUCCESS;
}
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