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
98d14864
Commit
98d14864
authored
Jul 31, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Jul 31, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Set the install state to INSTALLSTATE_LOCAL for components with compressed files.
parent
40556ae0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
action.c
dlls/msi/action.c
+6
-0
package.c
dlls/msi/tests/package.c
+0
-3
No files found.
dlls/msi/action.c
View file @
98d14864
...
...
@@ -1323,6 +1323,12 @@ static UINT load_file(MSIRECORD *row, LPVOID param)
file
->
state
=
msifs_invalid
;
if
(
file
->
Attributes
&
msidbFileAttributesCompressed
)
{
file
->
Component
->
Action
=
INSTALLSTATE_LOCAL
;
file
->
Component
->
ActionRequest
=
INSTALLSTATE_LOCAL
;
}
TRACE
(
"File Loaded (%s)
\n
"
,
debugstr_w
(
file
->
File
));
list_add_tail
(
&
package
->
files
,
&
file
->
entry
);
...
...
dlls/msi/tests/package.c
View file @
98d14864
...
...
@@ -1744,10 +1744,7 @@ static void test_states(void)
r
=
MsiGetComponentState
(
hpkg
,
"eta"
,
&
state
,
&
action
);
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
r
);
ok
(
state
==
INSTALLSTATE_ABSENT
,
"Expected INSTALLSTATE_ABSENT, got %d
\n
"
,
state
);
todo_wine
{
ok
(
action
==
INSTALLSTATE_LOCAL
,
"Expected INSTALLSTATE_LOCAL, got %d
\n
"
,
action
);
}
MsiCloseHandle
(
hpkg
);
}
...
...
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