Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d5c6c64b
Commit
d5c6c64b
authored
May 08, 2007
by
Misha Koshelev
Committed by
Alexandre Julliard
May 08, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: automation: Display an error on create_session failure.
parent
3909a499
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
automation.c
dlls/msi/automation.c
+3
-1
No files found.
dlls/msi/automation.c
View file @
d5c6c64b
...
@@ -1026,11 +1026,13 @@ static HRESULT WINAPI InstallerImpl_Invoke(
...
@@ -1026,11 +1026,13 @@ static HRESULT WINAPI InstallerImpl_Invoke(
V_VT
(
pVarResult
)
=
VT_DISPATCH
;
V_VT
(
pVarResult
)
=
VT_DISPATCH
;
if
((
ret
=
MsiOpenPackageExW
(
V_BSTR
(
&
varg0
),
V_I4
(
&
varg1
),
&
msiHandle
))
==
ERROR_SUCCESS
)
if
((
ret
=
MsiOpenPackageExW
(
V_BSTR
(
&
varg0
),
V_I4
(
&
varg1
),
&
msiHandle
))
==
ERROR_SUCCESS
)
{
{
if
(
SUCCEEDED
(
create_session
(
msiHandle
,
(
IDispatch
*
)
This
,
&
pDispatch
)))
if
(
SUCCEEDED
(
hr
=
create_session
(
msiHandle
,
(
IDispatch
*
)
This
,
&
pDispatch
)))
{
{
IDispatch_AddRef
(
pDispatch
);
IDispatch_AddRef
(
pDispatch
);
V_DISPATCH
(
pVarResult
)
=
pDispatch
;
V_DISPATCH
(
pVarResult
)
=
pDispatch
;
}
}
else
ERR
(
"Failed to create Session object, hresult 0x%08x
\n
"
,
hr
);
}
}
else
else
{
{
...
...
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