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
4b32c093
Commit
4b32c093
authored
May 15, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
May 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Add support for the ActionInfo progress message subtype.
parent
6c7d0993
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
2 deletions
+14
-2
action.c
dlls/msi/action.c
+1
-0
dialog.c
dlls/msi/dialog.c
+3
-1
msipriv.h
dlls/msi/msipriv.h
+1
-0
package.c
dlls/msi/package.c
+9
-1
No files found.
dlls/msi/action.c
View file @
4b32c093
...
...
@@ -7340,6 +7340,7 @@ UINT ACTION_PerformUIAction(MSIPACKAGE *package, const WCHAR *action, UINT scrip
TRACE
(
"Performing action (%s)
\n
"
,
debugstr_w
(
action
));
package
->
action_progress_increment
=
0
;
handled
=
ACTION_HandleStandardAction
(
package
,
action
,
&
rc
);
if
(
!
handled
)
...
...
dlls/msi/dialog.c
View file @
4b32c093
...
...
@@ -664,7 +664,9 @@ void msi_dialog_handle_event( msi_dialog* dialog, LPCWSTR control,
SendMessageW
(
ctrl
->
hwnd
,
PBM_SETPOS
,
0
,
0
);
}
break
;
case
1
:
/* FIXME: not sure what this is supposed to do */
case
1
:
/* action data increment */
if
(
val2
)
dialog
->
package
->
action_progress_increment
=
val1
;
else
dialog
->
package
->
action_progress_increment
=
0
;
break
;
case
2
:
/* move */
if
(
ctrl
->
progress_backwards
)
...
...
dlls/msi/msipriv.h
View file @
4b32c093
...
...
@@ -369,6 +369,7 @@ typedef struct tagMSIPACKAGE
struct
list
cabinet_streams
;
LPWSTR
ActionFormat
;
LPWSTR
LastAction
;
UINT
action_progress_increment
;
HANDLE
log_file
;
IAssemblyCache
*
cache_net
[
CLR_VERSION_MAX
];
IAssemblyCache
*
cache_sxs
;
...
...
dlls/msi/package.c
View file @
4b32c093
...
...
@@ -1905,8 +1905,16 @@ INT MSI_ProcessMessage( MSIPACKAGE *package, INSTALLMESSAGE eMessageType, MSIREC
msi_free
(
deformated
);
ControlEvent_FireSubscribedEvent
(
package
,
szActionData
,
uirow
);
msiobj_release
(
&
uirow
->
hdr
);
if
(
package
->
action_progress_increment
)
{
uirow
=
MSI_CreateRecord
(
2
);
MSI_RecordSetInteger
(
uirow
,
1
,
2
);
MSI_RecordSetInteger
(
uirow
,
2
,
package
->
action_progress_increment
);
ControlEvent_FireSubscribedEvent
(
package
,
szSetProgress
,
uirow
);
msiobj_release
(
&
uirow
->
hdr
);
}
break
;
case
INSTALLMESSAGE_ACTIONSTART
:
...
...
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