msi: Properly advance the patch pointer in msi_check_product_patches.
Fixes patch enumeration when multiple patches are registered for a given product.
This commit is contained in:
parent
409e2d7105
commit
d99b6d3934
|
@ -1918,7 +1918,7 @@ static UINT msi_check_product_patches(LPCWSTR prodcode, LPCWSTR usersid,
|
|||
goto done;
|
||||
|
||||
ptr = patches;
|
||||
for (ptr = patches; *ptr && r == ERROR_NO_MORE_ITEMS; ptr += lstrlenW(ptr))
|
||||
for (ptr = patches; *ptr && r == ERROR_NO_MORE_ITEMS; ptr += lstrlenW(ptr) + 1)
|
||||
{
|
||||
if (!unsquash_guid(ptr, patch))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue