Make sure HKLM\Software\Wine\Wine is a non-volatile key.
diff --git a/files/profile.c b/files/profile.c
index e2920dc..f4fa3bb 100644
--- a/files/profile.c
+++ b/files/profile.c
@@ -931,8 +931,8 @@
FILE *f;
HKEY hKeySW;
- /* make sure HKLM\\Software exists as non-volatile key */
- if (RegCreateKeyA( HKEY_LOCAL_MACHINE, "Software", &hKeySW ))
+ /* make sure HKLM\\Software\\Wine\\Wine exists as non-volatile key */
+ if (RegCreateKeyA( HKEY_LOCAL_MACHINE, "Software\\Wine\\Wine", &hKeySW ))
{
ERR("Cannot create config registry key\n" );
return 0;