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
5538fa02
Commit
5538fa02
authored
Jun 23, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Jun 24, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Publish media disks whether the drive type is removable or not.
parent
ef640a6c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
files.c
dlls/msi/files.c
+3
-4
install.c
dlls/msi/tests/install.c
+1
-4
No files found.
dlls/msi/files.c
View file @
5538fa02
...
...
@@ -544,10 +544,9 @@ UINT msi_load_media_info(MSIPACKAGE *package, MSIFILE *file, MSIMEDIAINFO *mi)
options
|=
MSISOURCETYPE_NETWORK
;
}
if
(
mi
->
type
==
DRIVE_CDROM
||
mi
->
type
==
DRIVE_REMOVABLE
)
msi_package_add_media_disk
(
package
,
package
->
Context
,
MSICODE_PRODUCT
,
mi
->
disk_id
,
mi
->
volume_label
,
mi
->
disk_prompt
);
msi_package_add_media_disk
(
package
,
package
->
Context
,
MSICODE_PRODUCT
,
mi
->
disk_id
,
mi
->
volume_label
,
mi
->
disk_prompt
);
msi_package_add_info
(
package
,
package
->
Context
,
options
,
INSTALLPROPERTY_LASTUSEDSOURCEW
,
source
);
...
...
dlls/msi/tests/install.c
View file @
5538fa02
...
...
@@ -2559,10 +2559,7 @@ static void test_publish_publishproduct(void)
res
=
RegOpenKeyA
(
sourcelist
,
"Media"
,
&
media
);
ok
(
res
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
res
);
todo_wine
{
CHECK_DEL_REG_STR
(
media
,
"1"
,
"DISK1;"
);
}
CHECK_DEL_REG_STR
(
media
,
"1"
,
"DISK1;"
);
RegDeleteKeyA
(
media
,
""
);
RegCloseKey
(
media
);
...
...
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