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
4f634a3b
Commit
4f634a3b
authored
Jul 06, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jul 06, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stop the install when cancelling from a modeless dialog.
parent
50f8fbf1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
18 deletions
+7
-18
action.c
dlls/msi/action.c
+7
-18
No files found.
dlls/msi/action.c
View file @
4f634a3b
...
...
@@ -674,6 +674,11 @@ static UINT ITERATE_Actions(MSIRECORD *row, LPVOID param)
else
rc
=
ACTION_PerformAction
(
iap
->
package
,
action
,
FALSE
);
msi_dialog_check_messages
(
NULL
);
if
(
iap
->
package
->
CurrentInstallState
!=
ERROR_SUCCESS
)
rc
=
iap
->
package
->
CurrentInstallState
;
if
(
rc
==
ERROR_FUNCTION_NOT_CALLED
)
rc
=
ERROR_SUCCESS
;
...
...
@@ -822,18 +827,6 @@ static BOOL ACTION_HandleStandardAction(MSIPACKAGE *package, LPCWSTR action,
return
ret
;
}
static
BOOL
ACTION_HandleDialogBox
(
MSIPACKAGE
*
package
,
LPCWSTR
dialog
,
UINT
*
rc
)
{
BOOL
ret
=
FALSE
;
if
(
ACTION_DialogBox
(
package
,
dialog
)
==
ERROR_SUCCESS
)
{
*
rc
=
package
->
CurrentInstallState
;
ret
=
TRUE
;
}
return
ret
;
}
static
BOOL
ACTION_HandleCustomAction
(
MSIPACKAGE
*
package
,
LPCWSTR
action
,
UINT
*
rc
,
BOOL
force
)
{
...
...
@@ -876,7 +869,6 @@ UINT ACTION_PerformAction(MSIPACKAGE *package, const WCHAR *action, BOOL force)
rc
=
ERROR_FUNCTION_NOT_CALLED
;
}
package
->
CurrentInstallState
=
rc
;
return
rc
;
}
...
...
@@ -892,10 +884,8 @@ UINT ACTION_PerformUIAction(MSIPACKAGE *package, const WCHAR *action)
if
(
!
handled
)
handled
=
ACTION_HandleCustomAction
(
package
,
action
,
&
rc
,
FALSE
);
if
(
!
handled
)
handled
=
ACTION_HandleDialogBox
(
package
,
action
,
&
rc
);
msi_dialog_check_messages
(
NULL
);
if
(
!
handled
&&
ACTION_DialogBox
(
package
,
action
)
==
ERROR_SUCCESS
)
handled
=
TRUE
;
if
(
!
handled
)
{
...
...
@@ -903,7 +893,6 @@ UINT ACTION_PerformUIAction(MSIPACKAGE *package, const WCHAR *action)
rc
=
ERROR_FUNCTION_NOT_CALLED
;
}
package
->
CurrentInstallState
=
rc
;
return
rc
;
}
...
...
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