Write the RegOwner and RegCompany keys as blank if they do not exist
when doing the RegisterUser action.
This commit is contained in:
parent
82ed0ce999
commit
ec4df18833
|
@ -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++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue