Commit 39c0682b authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

advpack: The fallback directory is the fifth field index, not the sixth.

parent b70d65b2
......@@ -86,7 +86,7 @@ static void get_dest_dir(HINF hInf, PCWSTR pszSection, PWSTR pszBuffer, DWORD dw
if (RegOpenKeyW(root, key, &subkey) ||
RegQueryValueExW(subkey, value, NULL, NULL, (LPBYTE)pszBuffer, &size))
{
SetupGetStringFieldW(&context, 6, pszBuffer, dwSize, NULL);
SetupGetStringFieldW(&context, 5, pszBuffer, dwSize, NULL);
}
RegCloseKey(subkey);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment