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
469e4a5c
Commit
469e4a5c
authored
Jul 28, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Jul 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Directly register the typelib if it's not embedded in a PE module.
parent
dfec94c1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
action.c
dlls/msi/action.c
+13
-1
No files found.
dlls/msi/action.c
View file @
469e4a5c
...
@@ -2994,7 +2994,10 @@ static UINT ITERATE_RegisterTypeLibraries(MSIRECORD *row, LPVOID param)
...
@@ -2994,7 +2994,10 @@ static UINT ITERATE_RegisterTypeLibraries(MSIRECORD *row, LPVOID param)
MSICOMPONENT
*
comp
;
MSICOMPONENT
*
comp
;
MSIFILE
*
file
;
MSIFILE
*
file
;
typelib_struct
tl_struct
;
typelib_struct
tl_struct
;
ITypeLib
*
tlib
;
HMODULE
module
;
HMODULE
module
;
HRESULT
hr
;
static
const
WCHAR
szTYPELIB
[]
=
{
'T'
,
'Y'
,
'P'
,
'E'
,
'L'
,
'I'
,
'B'
,
0
};
static
const
WCHAR
szTYPELIB
[]
=
{
'T'
,
'Y'
,
'P'
,
'E'
,
'L'
,
'I'
,
'B'
,
0
};
component
=
MSI_RecordGetString
(
row
,
3
);
component
=
MSI_RecordGetString
(
row
,
3
);
...
@@ -3063,7 +3066,16 @@ static UINT ITERATE_RegisterTypeLibraries(MSIRECORD *row, LPVOID param)
...
@@ -3063,7 +3066,16 @@ static UINT ITERATE_RegisterTypeLibraries(MSIRECORD *row, LPVOID param)
msi_free
(
tl_struct
.
source
);
msi_free
(
tl_struct
.
source
);
}
}
else
else
ERR
(
"Could not load file! %s
\n
"
,
debugstr_w
(
file
->
TargetPath
));
{
hr
=
LoadTypeLibEx
(
file
->
TargetPath
,
REGKIND_REGISTER
,
&
tlib
);
if
(
FAILED
(
hr
))
{
ERR
(
"Failed to load type library: %08x
\n
"
,
hr
);
return
ERROR_FUNCTION_FAILED
;
}
ITypeLib_Release
(
tlib
);
}
return
ERROR_SUCCESS
;
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