Commit ec4df188 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

Write the RegOwner and RegCompany keys as blank if they do not exist

when doing the RegisterUser action.
parent 82ed0ce9
......@@ -6250,6 +6250,8 @@ static UINT ACTION_RegisterUser(MSIPACKAGE *package)
size = strlenW(buffer)*sizeof(WCHAR);
RegSetValueExW(hkey,szRegKeys[i],0,REG_SZ,(LPSTR)buffer,size);
}
else
RegSetValueExW(hkey,szRegKeys[i],0,REG_SZ,NULL,0);
i++;
}
......
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