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
6d102168
Commit
6d102168
authored
Dec 24, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Dec 24, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Change ACTION_UpdateComponentStates to take a feature pointer.
parent
706b54da
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
9 deletions
+4
-9
dialog.c
dlls/msi/dialog.c
+1
-1
helpers.c
dlls/msi/helpers.c
+1
-6
install.c
dlls/msi/install.c
+1
-1
msipriv.h
dlls/msi/msipriv.h
+1
-1
No files found.
dlls/msi/dialog.c
View file @
6d102168
...
...
@@ -2127,7 +2127,7 @@ msi_seltree_update_feature_installstate( HWND hwnd, HTREEITEM hItem,
{
msi_feature_set_state
(
package
,
feature
,
state
);
msi_seltree_sync_item_state
(
hwnd
,
feature
,
hItem
);
ACTION_UpdateComponentStates
(
package
,
feature
->
Feature
);
ACTION_UpdateComponentStates
(
package
,
feature
);
}
static
void
...
...
dlls/msi/helpers.c
View file @
6d102168
...
...
@@ -639,16 +639,11 @@ LPWSTR create_component_advertise_string(MSIPACKAGE* package,
}
/* update component state based on a feature change */
void
ACTION_UpdateComponentStates
(
MSIPACKAGE
*
package
,
LPCWSTR
szFeature
)
void
ACTION_UpdateComponentStates
(
MSIPACKAGE
*
package
,
MSIFEATURE
*
feature
)
{
INSTALLSTATE
newstate
;
MSIFEATURE
*
feature
;
ComponentList
*
cl
;
feature
=
get_loaded_feature
(
package
,
szFeature
);
if
(
!
feature
)
return
;
newstate
=
feature
->
ActionRequest
;
if
(
newstate
==
INSTALLSTATE_ABSENT
)
...
...
dlls/msi/install.c
View file @
6d102168
...
...
@@ -827,7 +827,7 @@ UINT WINAPI MSI_SetFeatureStateW(MSIPACKAGE* package, LPCWSTR szFeature,
feature
->
ActionRequest
=
iState
;
ACTION_UpdateComponentStates
(
package
,
szFeature
);
ACTION_UpdateComponentStates
(
package
,
feature
);
/* update all the features that are children of this feature */
LIST_FOR_EACH_ENTRY
(
child
,
&
package
->
features
,
MSIFEATURE
,
entry
)
...
...
dlls/msi/msipriv.h
View file @
6d102168
...
...
@@ -945,7 +945,7 @@ extern LPWSTR build_directory_name(DWORD , ...);
extern
BOOL
create_full_pathW
(
const
WCHAR
*
path
);
extern
void
reduce_to_longfilename
(
WCHAR
*
);
extern
LPWSTR
create_component_advertise_string
(
MSIPACKAGE
*
,
MSICOMPONENT
*
,
LPCWSTR
);
extern
void
ACTION_UpdateComponentStates
(
MSIPACKAGE
*
package
,
LPCWSTR
szF
eature
);
extern
void
ACTION_UpdateComponentStates
(
MSIPACKAGE
*
package
,
MSIFEATURE
*
f
eature
);
extern
UINT
register_unique_action
(
MSIPACKAGE
*
,
LPCWSTR
);
extern
BOOL
check_unique_action
(
const
MSIPACKAGE
*
,
LPCWSTR
);
extern
WCHAR
*
generate_error_string
(
MSIPACKAGE
*
,
UINT
,
DWORD
,
...
);
...
...
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