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
bd634c04
Commit
bd634c04
authored
Jul 23, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Jul 23, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Set/unset the SourceDir property at the right stage in the execution sequence.
parent
ad971803
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
1 deletion
+7
-1
action.c
dlls/msi/action.c
+5
-1
media.c
dlls/msi/media.c
+1
-0
msipriv.h
dlls/msi/msipriv.h
+1
-0
install.c
dlls/msi/tests/install.c
+0
-0
No files found.
dlls/msi/action.c
View file @
bd634c04
...
...
@@ -712,7 +712,7 @@ static BOOL ui_sequence_exists( MSIPACKAGE *package )
return
FALSE
;
}
static
UINT
msi_set_sourcedir_props
(
MSIPACKAGE
*
package
,
BOOL
replace
)
UINT
msi_set_sourcedir_props
(
MSIPACKAGE
*
package
,
BOOL
replace
)
{
LPWSTR
source
,
check
;
...
...
@@ -897,6 +897,8 @@ static UINT ACTION_ProcessExecSequence(MSIPACKAGE *package, BOOL UIran)
{
TRACE
(
"Running the actions
\n
"
);
msi_set_property
(
package
->
db
,
cszSourceDir
,
NULL
);
rc
=
MSI_IterateRecords
(
view
,
NULL
,
ITERATE_Actions
,
package
);
msiobj_release
(
&
view
->
hdr
);
}
...
...
@@ -3023,6 +3025,8 @@ static UINT ACTION_ProcessComponents(MSIPACKAGE *package)
squash_guid
(
package
->
ProductCode
,
squished_pc
);
ui_progress
(
package
,
1
,
COMPONENT_PROGRESS_VALUE
,
1
,
0
);
msi_set_sourcedir_props
(
package
,
FALSE
);
LIST_FOR_EACH_ENTRY
(
comp
,
&
package
->
components
,
MSICOMPONENT
,
entry
)
{
MSIRECORD
*
uirow
;
...
...
dlls/msi/media.c
View file @
bd634c04
...
...
@@ -653,6 +653,7 @@ static UINT msi_load_media_info(MSIPACKAGE *package, MSIFILE *file, MSIMEDIAINFO
if
(
!
mi
->
first_volume
)
mi
->
first_volume
=
strdupW
(
mi
->
volume_label
);
msi_set_sourcedir_props
(
package
,
FALSE
);
source_dir
=
msi_dup_property
(
package
->
db
,
cszSourceDir
);
lstrcpyW
(
mi
->
sourcedir
,
source_dir
);
mi
->
type
=
get_drive_type
(
source_dir
);
...
...
dlls/msi/msipriv.h
View file @
bd634c04
...
...
@@ -1012,6 +1012,7 @@ extern WCHAR* generate_error_string(MSIPACKAGE *, UINT, DWORD, ... );
extern
UINT
msi_set_last_used_source
(
LPCWSTR
product
,
LPCWSTR
usersid
,
MSIINSTALLCONTEXT
context
,
DWORD
options
,
LPCWSTR
value
);
extern
UINT
msi_get_local_package_name
(
LPWSTR
path
,
LPCWSTR
suffix
);
extern
UINT
msi_set_sourcedir_props
(
MSIPACKAGE
*
package
,
BOOL
replace
);
/* media */
...
...
dlls/msi/tests/install.c
View file @
bd634c04
This diff is collapsed.
Click to expand it.
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