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
288718d8
Commit
288718d8
authored
Feb 23, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Feb 23, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: A custom action dll failing to load is not a fatal error.
parent
2a53eb70
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
custom.c
dlls/msi/custom.c
+3
-6
No files found.
dlls/msi/custom.c
View file @
288718d8
...
...
@@ -424,10 +424,7 @@ static MSIBINARY *create_temp_binary( MSIPACKAGE *package, LPCWSTR source, BOOL
/* keep a reference to prevent the dll from being unloaded */
if
(
dll
&&
!
(
binary
->
module
=
LoadLibraryW
(
tmpfile
)))
{
ERR
(
"failed to load dll %s (%u)
\n
"
,
debugstr_w
(
tmpfile
),
GetLastError
()
);
DeleteFileW
(
tmpfile
);
msi_free
(
binary
);
return
NULL
;
WARN
(
"failed to load dll %s (%u)
\n
"
,
debugstr_w
(
tmpfile
),
GetLastError
()
);
}
binary
->
source
=
strdupW
(
source
);
binary
->
tmpfile
=
strdupW
(
tmpfile
);
...
...
@@ -720,8 +717,8 @@ static DWORD ACTION_CallDllFunction( const GUID *guid )
hModule
=
LoadLibraryW
(
dll
);
if
(
!
hModule
)
{
ERR
(
"failed to load dll %s (%u)
\n
"
,
debugstr_w
(
dll
),
GetLastError
()
);
return
r
;
WARN
(
"failed to load dll %s (%u)
\n
"
,
debugstr_w
(
dll
),
GetLastError
()
);
return
ERROR_SUCCESS
;
}
proc
=
strdupWtoA
(
function
);
...
...
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