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
9c6e6efa
Commit
9c6e6efa
authored
Mar 25, 2009
by
Hans Leidekker
Committed by
Alexandre Julliard
Mar 25, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Detect privately installed assemblies.
Another fix for the office 2007 sp1 installer.
parent
c2221f32
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
action.c
dlls/msi/action.c
+18
-3
No files found.
dlls/msi/action.c
View file @
9c6e6efa
...
...
@@ -6070,9 +6070,24 @@ static UINT load_assembly(MSIRECORD *rec, LPVOID param)
assembly
->
manifest
=
strdupW
(
MSI_RecordGetString
(
rec
,
3
));
assembly
->
application
=
strdupW
(
MSI_RecordGetString
(
rec
,
4
));
assembly
->
attributes
=
MSI_RecordGetInteger
(
rec
,
5
);
assembly
->
installed
=
check_assembly_installed
(
list
->
package
->
db
,
list
->
cache
,
assembly
->
component
);
if
(
assembly
->
application
)
{
WCHAR
version
[
24
];
DWORD
size
=
sizeof
(
version
)
/
sizeof
(
WCHAR
);
/* FIXME: we should probably check the manifest file here */
if
(
!
MsiGetFileVersionW
(
assembly
->
file
->
TargetPath
,
version
,
&
size
,
NULL
,
NULL
)
&&
strcmpW
(
version
,
assembly
->
file
->
Version
)
>=
0
)
{
assembly
->
installed
=
TRUE
;
}
}
else
assembly
->
installed
=
check_assembly_installed
(
list
->
package
->
db
,
list
->
cache
,
assembly
->
component
);
list_add_head
(
list
->
assemblies
,
&
assembly
->
entry
);
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