Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
567f0314
Commit
567f0314
authored
Sep 23, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Sep 23, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stub implementation of the PatchFiles action.
parent
75c27e17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletion
+23
-1
action.c
dlls/msi/action.c
+23
-1
No files found.
dlls/msi/action.c
View file @
567f0314
...
...
@@ -86,6 +86,7 @@ static UINT ACTION_RegisterFonts(MSIPACKAGE *package);
static
UINT
ACTION_PublishComponents
(
MSIPACKAGE
*
package
);
static
UINT
ACTION_RemoveIniValues
(
MSIPACKAGE
*
package
);
static
UINT
ACTION_MoveFiles
(
MSIPACKAGE
*
package
);
static
UINT
ACTION_PatchFiles
(
MSIPACKAGE
*
package
);
/*
* consts and values used
...
...
@@ -301,7 +302,7 @@ static struct _actions StandardActions[] = {
{
szMsiUnpublishAssemblies
,
NULL
},
{
szInstallODBC
,
NULL
},
{
szInstallServices
,
NULL
},
{
szPatchFiles
,
NULL
},
{
szPatchFiles
,
ACTION_PatchFiles
},
{
szProcessComponents
,
ACTION_ProcessComponents
},
{
szPublishComponents
,
ACTION_PublishComponents
},
{
szPublishFeatures
,
ACTION_PublishFeatures
},
...
...
@@ -4047,3 +4048,24 @@ static UINT ACTION_MoveFiles(MSIPACKAGE *package)
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
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment