Alex Henrie <alexhenrie24(a)gmail.com> writes:
@@ -444,6 +450,11 @@ static void create_user_profile_registry_key(void)
RegCreateKeyExW(HKEY_LOCAL_MACHINE, profile_key_path, 0, NULL, 0, KEY_WRITE, NULL, &profile_key, NULL);
+ RegSetValueExW(profile_key, FlagsW, 0, REG_DWORD, (BYTE *)&flags, sizeof(flags)); + + GetUserProfileDirectoryW(token, profile_dir, &profile_dir_len); + RegSetValueExW(profile_key, ProfileImagePathW, 0, REG_SZ, (BYTE *)profile_dir, (profile_dir_len + 1) * sizeof(WCHAR));
I think GetUserProfileDirectoryW() should be getting the value from the registry, which would be set without using userenv.dll. This could be done in wineboot, but maybe shell32 would be more appropriate. -- Alexandre Julliard julliard(a)winehq.org