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
536b4990
Commit
536b4990
authored
May 14, 2007
by
Misha Koshelev
Committed by
Alexandre Julliard
May 15, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Make MsiEnumRelatedProducts enumerate registry value names, not subkeys.
parent
a6dfcf90
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
registry.c
dlls/msi/registry.c
+2
-1
automation.c
dlls/msi/tests/automation.c
+3
-3
No files found.
dlls/msi/registry.c
View file @
536b4990
...
...
@@ -993,6 +993,7 @@ UINT WINAPI MsiEnumRelatedProductsW(LPCWSTR szUpgradeCode, DWORD dwReserved,
{
UINT
r
;
HKEY
hkey
;
DWORD
dwSize
=
SQUISH_GUID_SIZE
;
WCHAR
szKeyName
[
SQUISH_GUID_SIZE
];
TRACE
(
"%s %u %u %p
\n
"
,
debugstr_w
(
szUpgradeCode
),
dwReserved
,
...
...
@@ -1007,7 +1008,7 @@ UINT WINAPI MsiEnumRelatedProductsW(LPCWSTR szUpgradeCode, DWORD dwReserved,
if
(
r
!=
ERROR_SUCCESS
)
return
ERROR_NO_MORE_ITEMS
;
r
=
RegEnum
KeyW
(
hkey
,
iProductIndex
,
szKeyName
,
SQUISH_GUID_SIZE
);
r
=
RegEnum
ValueW
(
hkey
,
iProductIndex
,
szKeyName
,
&
dwSize
,
NULL
,
NULL
,
NULL
,
NULL
);
if
(
r
==
ERROR_SUCCESS
)
unsquash_guid
(
szKeyName
,
lpProductBuf
);
RegCloseKey
(
hkey
);
...
...
dlls/msi/tests/automation.c
View file @
536b4990
...
...
@@ -1676,13 +1676,13 @@ static void test_Installer_InstallProduct(LPCWSTR szPath)
/* StringList::Count */
hr
=
StringList_Count
(
pStringList
,
&
iCount
);
ok
(
SUCCEEDED
(
hr
),
"StringList_Count failed, hresult 0x%08x
\n
"
,
hr
);
todo_wine
ok
(
iCount
==
1
,
"Expected one related product but found %d
\n
"
,
iCount
);
ok
(
iCount
==
1
,
"Expected one related product but found %d
\n
"
,
iCount
);
/* StringList::Item */
memset
(
szString
,
0
,
sizeof
(
szString
));
hr
=
StringList_Item
(
pStringList
,
0
,
szString
);
todo_wine
ok
(
SUCCEEDED
(
hr
),
"StringList_Item failed (idx 0, count %d), hresult 0x%08x
\n
"
,
iCount
,
hr
);
todo_wine
ok_w2
(
"StringList_Item returned %s but expected %s
\n
"
,
szString
,
szProductCode
);
ok
(
SUCCEEDED
(
hr
),
"StringList_Item failed (idx 0, count %d), hresult 0x%08x
\n
"
,
iCount
,
hr
);
ok_w2
(
"StringList_Item returned %s but expected %s
\n
"
,
szString
,
szProductCode
);
IDispatch_Release
(
pStringList
);
}
...
...
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