James Hawkins : msi: WriteEnvironmentStrings should also write to REG_EXPAND_SZ strings.
Module: wine Branch: master Commit: 31c461ea5b3e201dd62b257d7e88891754d3c80d URL: http://source.winehq.org/git/wine.git/?a=commit;h=31c461ea5b3e201dd62b257d7e... Author: James Hawkins <truiken(a)gmail.com> Date: Sat Jan 5 11:46:09 2008 -0600 msi: WriteEnvironmentStrings should also write to REG_EXPAND_SZ strings. --- dlls/msi/action.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/msi/action.c b/dlls/msi/action.c index b1841f7..9e0cf1f 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)
participants (1)
-
Alexandre Julliard