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
1244b501
Commit
1244b501
authored
Mar 18, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi: Create fakedlls before copying files.
Some files may come from dll resources. Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5d3d73f8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
17 deletions
+9
-17
install.c
dlls/setupapi/install.c
+9
-17
No files found.
dlls/setupapi/install.c
View file @
1244b501
...
...
@@ -1085,6 +1085,13 @@ BOOL WINAPI SetupInstallFromInfSectionW( HWND owner, HINF hinf, PCWSTR section,
if
(
!
iterate_section_fields
(
hinf
,
section
,
L"WinePreInstall"
,
registry_callback
,
&
info
))
return
FALSE
;
}
if
(
flags
&
SPINST_REGSVR
)
{
if
(
iterate_section_fields
(
hinf
,
section
,
L"WineFakeDlls"
,
fake_dlls_callback
,
NULL
))
cleanup_fake_dlls
();
else
return
FALSE
;
}
if
(
flags
&
SPINST_FILES
)
{
struct
files_callback_info
info
;
...
...
@@ -1121,24 +1128,14 @@ BOOL WINAPI SetupInstallFromInfSectionW( HWND owner, HINF hinf, PCWSTR section,
}
if
(
flags
&
SPINST_REGSVR
)
{
struct
register_dll_info
info
;
struct
register_dll_info
info
=
{
.
unregister
=
FALSE
}
;
HRESULT
hr
;
info
.
unregister
=
FALSE
;
info
.
modules_size
=
0
;
info
.
modules_count
=
0
;
info
.
modules
=
NULL
;
if
(
flags
&
SPINST_REGISTERCALLBACKAWARE
)
{
info
.
callback
=
callback
;
info
.
callback_context
=
context
;
}
else
info
.
callback
=
NULL
;
if
(
iterate_section_fields
(
hinf
,
section
,
L"WineFakeDlls"
,
fake_dlls_callback
,
NULL
))
cleanup_fake_dlls
();
else
return
FALSE
;
hr
=
CoInitialize
(
NULL
);
...
...
@@ -1153,19 +1150,14 @@ BOOL WINAPI SetupInstallFromInfSectionW( HWND owner, HINF hinf, PCWSTR section,
}
if
(
flags
&
SPINST_UNREGSVR
)
{
struct
register_dll_info
info
;
struct
register_dll_info
info
=
{
.
unregister
=
TRUE
}
;
HRESULT
hr
;
info
.
unregister
=
TRUE
;
info
.
modules_size
=
0
;
info
.
modules_count
=
0
;
info
.
modules
=
NULL
;
if
(
flags
&
SPINST_REGISTERCALLBACKAWARE
)
{
info
.
callback
=
callback
;
info
.
callback_context
=
context
;
}
else
info
.
callback
=
NULL
;
hr
=
CoInitialize
(
NULL
);
...
...
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