Stub implementation of the PatchFiles action.
This commit is contained in:
parent
75c27e17b6
commit
567f0314af
|
@ -86,6 +86,7 @@ static UINT ACTION_RegisterFonts(MSIPACKAGE *package);
|
||||||
static UINT ACTION_PublishComponents(MSIPACKAGE *package);
|
static UINT ACTION_PublishComponents(MSIPACKAGE *package);
|
||||||
static UINT ACTION_RemoveIniValues(MSIPACKAGE *package);
|
static UINT ACTION_RemoveIniValues(MSIPACKAGE *package);
|
||||||
static UINT ACTION_MoveFiles(MSIPACKAGE *package);
|
static UINT ACTION_MoveFiles(MSIPACKAGE *package);
|
||||||
|
static UINT ACTION_PatchFiles(MSIPACKAGE *package);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* consts and values used
|
* consts and values used
|
||||||
|
@ -301,7 +302,7 @@ static struct _actions StandardActions[] = {
|
||||||
{ szMsiUnpublishAssemblies, NULL},
|
{ szMsiUnpublishAssemblies, NULL},
|
||||||
{ szInstallODBC, NULL},
|
{ szInstallODBC, NULL},
|
||||||
{ szInstallServices, NULL},
|
{ szInstallServices, NULL},
|
||||||
{ szPatchFiles, NULL},
|
{ szPatchFiles, ACTION_PatchFiles },
|
||||||
{ szProcessComponents, ACTION_ProcessComponents },
|
{ szProcessComponents, ACTION_ProcessComponents },
|
||||||
{ szPublishComponents, ACTION_PublishComponents },
|
{ szPublishComponents, ACTION_PublishComponents },
|
||||||
{ szPublishFeatures, ACTION_PublishFeatures },
|
{ szPublishFeatures, ACTION_PublishFeatures },
|
||||||
|
@ -4047,3 +4048,24 @@ static UINT ACTION_MoveFiles(MSIPACKAGE *package)
|
||||||
|
|
||||||
return ERROR_SUCCESS;
|
return ERROR_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static UINT ACTION_PatchFiles(MSIPACKAGE *package)
|
||||||
|
{
|
||||||
|
static const WCHAR query[] = {
|
||||||
|
'S','E','L','E','C','T',' ','*',' ','F','R','O','M',' ',
|
||||||
|
'P','a','t','c','h',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 Patch table values\n", count);
|
||||||
|
msiobj_release(&view->hdr);
|
||||||
|
}
|
||||||
|
|
||||||
|
return ERROR_SUCCESS;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue