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
558abec8
Commit
558abec8
authored
Oct 27, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Oct 27, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If an action fails, print out its name as well as the error code. Use
%d for error codes so it's easy to match them up to something in winerror.h.
parent
51c6618d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
action.c
dlls/msi/action.c
+1
-1
custom.c
dlls/msi/custom.c
+1
-1
No files found.
dlls/msi/action.c
View file @
558abec8
...
@@ -762,7 +762,7 @@ static UINT ITERATE_Actions(MSIRECORD *row, LPVOID param)
...
@@ -762,7 +762,7 @@ static UINT ITERATE_Actions(MSIRECORD *row, LPVOID param)
rc
=
ERROR_SUCCESS
;
rc
=
ERROR_SUCCESS
;
if
(
rc
!=
ERROR_SUCCESS
)
if
(
rc
!=
ERROR_SUCCESS
)
ERR
(
"Execution halted
due to error (%i)
\n
"
,
rc
);
ERR
(
"Execution halted
, action %s returned %i
\n
"
,
debugstr_w
(
action
),
rc
);
return
rc
;
return
rc
;
}
}
...
...
dlls/msi/custom.c
View file @
558abec8
...
@@ -335,7 +335,7 @@ static UINT process_action_return_value(UINT type, HANDLE ThreadHandle)
...
@@ -335,7 +335,7 @@ static UINT process_action_return_value(UINT type, HANDLE ThreadHandle)
case
ERROR_NO_MORE_ITEMS
:
case
ERROR_NO_MORE_ITEMS
:
return
ERROR_SUCCESS
;
return
ERROR_SUCCESS
;
default:
default:
ERR
(
"Invalid Return Code %lx
\n
"
,
rc
);
ERR
(
"Invalid Return Code %ld
\n
"
,
rc
);
return
ERROR_INSTALL_FAILURE
;
return
ERROR_INSTALL_FAILURE
;
}
}
}
}
...
...
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