From 31c461ea5b3e201dd62b257d7e88891754d3c80d Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Sat, 5 Jan 2008 11:46:09 -0600 Subject: [PATCH] msi: WriteEnvironmentStrings should also write to REG_EXPAND_SZ strings. --- dlls/msi/action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msi/action.c b/dlls/msi/action.c index b1841f77c68..9e0cf1f695b 100644 --- a/dlls/msi/action.c +++ b/dlls/msi/action.c @@ -4948,7 +4948,7 @@ static UINT ITERATE_WriteEnvironmentString( MSIRECORD *rec, LPVOID param ) size = 0; res = RegQueryValueExW(env, name, NULL, &type, NULL, &size); if ((res != ERROR_SUCCESS && res != ERROR_FILE_NOT_FOUND) || - (res == ERROR_SUCCESS && type != REG_SZ)) + (res == ERROR_SUCCESS && type != REG_SZ && type != REG_EXPAND_SZ)) goto done; if (res != ERROR_FILE_NOT_FOUND) -- 2.11.4.GIT