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
dd1ca6ca
Commit
dd1ca6ca
authored
Sep 10, 2009
by
Hans Leidekker
Committed by
Alexandre Julliard
Sep 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Ignore CoInitialize failure in ACTION_CreateShortcuts.
parent
bf1b965e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
action.c
dlls/msi/action.c
+2
-6
install.c
dlls/msi/tests/install.c
+1
-1
No files found.
dlls/msi/action.c
View file @
dd1ca6ca
...
...
@@ -3387,16 +3387,12 @@ static UINT ACTION_CreateShortcuts(MSIPACKAGE *package)
return
ERROR_SUCCESS
;
res
=
CoInitialize
(
NULL
);
if
(
FAILED
(
res
))
{
ERR
(
"CoInitialize failed
\n
"
);
return
ERROR_FUNCTION_FAILED
;
}
rc
=
MSI_IterateRecords
(
view
,
NULL
,
ITERATE_CreateShortcuts
,
package
);
msiobj_release
(
&
view
->
hdr
);
CoUninitialize
();
if
(
SUCCEEDED
(
res
))
CoUninitialize
();
return
rc
;
}
...
...
dlls/msi/tests/install.c
View file @
dd1ca6ca
...
...
@@ -6212,7 +6212,7 @@ static void test_shortcut(void)
ok
(
SUCCEEDED
(
hr
),
"CoInitialize failed 0x%08x
\n
"
,
hr
);
r
=
MsiInstallProductA
(
msifile
,
NULL
);
todo_wine
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %u
\n
"
,
r
);
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %u
\n
"
,
r
);
CoUninitialize
();
...
...
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