diff --git a/dlls/msi/action.c b/dlls/msi/action.c index 03e5bd08cc7..21275e81880 100644 --- a/dlls/msi/action.c +++ b/dlls/msi/action.c @@ -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++; }