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
7bcac31d
Commit
7bcac31d
authored
Jul 19, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Jul 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Update feature states after changing install levels, as they may have changed.
parent
7c7f0bb2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
action.c
dlls/msi/action.c
+1
-1
install.c
dlls/msi/install.c
+6
-0
msipriv.h
dlls/msi/msipriv.h
+1
-0
No files found.
dlls/msi/action.c
View file @
7bcac31d
...
...
@@ -1590,7 +1590,7 @@ static BOOL process_state_property (MSIPACKAGE* package, LPCWSTR property,
return
TRUE
;
}
static
UINT
MSI_SetFeatureStates
(
MSIPACKAGE
*
package
)
UINT
MSI_SetFeatureStates
(
MSIPACKAGE
*
package
)
{
int
install_level
;
static
const
WCHAR
szlevel
[]
=
...
...
dlls/msi/install.c
View file @
7bcac31d
...
...
@@ -785,6 +785,12 @@ UINT WINAPI MsiSetInstallLevel(MSIHANDLE hInstall, int iInstallLevel)
sprintfW
(
level
,
fmt
,
iInstallLevel
);
r
=
MSI_SetPropertyW
(
package
,
szInstallLevel
,
level
);
if
(
r
==
ERROR_SUCCESS
)
{
r
=
MSI_SetFeatureStates
(
package
);
}
msiobj_release
(
&
package
->
hdr
);
return
r
;
}
dlls/msi/msipriv.h
View file @
7bcac31d
...
...
@@ -339,6 +339,7 @@ extern UINT MSI_InstallPackage( MSIPACKAGE *, LPCWSTR, LPCWSTR );
extern
void
ACTION_free_package_structures
(
MSIPACKAGE
*
);
extern
UINT
ACTION_DialogBox
(
MSIPACKAGE
*
,
LPCWSTR
);
extern
UINT
MSI_Sequence
(
MSIPACKAGE
*
package
,
LPCWSTR
szTable
,
INT
iSequenceMode
);
extern
UINT
MSI_SetFeatureStates
(
MSIPACKAGE
*
package
);
/* record internals */
extern
UINT
MSI_RecordSetIStream
(
MSIRECORD
*
,
unsigned
int
,
IStream
*
);
...
...
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