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
bb40bebd
Commit
bb40bebd
authored
Mar 16, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Mar 16, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Let the InstallFiles action determine which private assembly files to install.
parent
12135acb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
assembly.c
dlls/msi/assembly.c
+5
-2
files.c
dlls/msi/files.c
+1
-1
No files found.
dlls/msi/assembly.c
View file @
bb40bebd
...
@@ -282,8 +282,11 @@ MSIASSEMBLY *load_assembly( MSIPACKAGE *package, MSICOMPONENT *comp )
...
@@ -282,8 +282,11 @@ MSIASSEMBLY *load_assembly( MSIPACKAGE *package, MSICOMPONENT *comp )
if
(
a
->
application
)
if
(
a
->
application
)
{
{
FIXME
(
"we should probably check the manifest file here
\n
"
);
/* We can't check the manifest here because the target path may still change.
a
->
installed
=
(
msi_get_property_int
(
package
->
db
,
szInstalled
,
0
)
!=
0
);
So we assume that the assembly is not installed and lean on the InstallFiles
action to determine which files need to be installed.
*/
a
->
installed
=
FALSE
;
}
}
else
else
{
{
...
...
dlls/msi/files.c
View file @
bb40bebd
...
@@ -74,7 +74,7 @@ static msi_file_state calculate_install_state( MSIFILE *file )
...
@@ -74,7 +74,7 @@ static msi_file_state calculate_install_state( MSIFILE *file )
TRACE
(
"file %s is not scheduled for install
\n
"
,
debugstr_w
(
file
->
File
));
TRACE
(
"file %s is not scheduled for install
\n
"
,
debugstr_w
(
file
->
File
));
return
msifs_skipped
;
return
msifs_skipped
;
}
}
if
((
comp
->
assembly
&&
!
comp
->
assembly
->
installed
)
||
if
((
comp
->
assembly
&&
!
comp
->
assembly
->
application
&&
!
comp
->
assembly
->
installed
)
||
GetFileAttributesW
(
file
->
TargetPath
)
==
INVALID_FILE_ATTRIBUTES
)
GetFileAttributesW
(
file
->
TargetPath
)
==
INVALID_FILE_ATTRIBUTES
)
{
{
TRACE
(
"file %s is missing
\n
"
,
debugstr_w
(
file
->
File
));
TRACE
(
"file %s is missing
\n
"
,
debugstr_w
(
file
->
File
));
...
...
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