Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
6737ac70
Commit
6737ac70
authored
Jan 31, 2017
by
Austin English
Committed by
Alexandre Julliard
Feb 08, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wine.inf: Set default Windows version to win7.
Signed-off-by:
Austin English
<
austinenglish@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
258c5279
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
16 deletions
+12
-16
version.c
dlls/ntdll/version.c
+1
-5
wine.inf.in
loader/wine.inf.in
+10
-10
appdefaults.c
programs/winecfg/appdefaults.c
+1
-1
No files found.
dlls/ntdll/version.c
View file @
6737ac70
...
...
@@ -489,16 +489,12 @@ void version_init( const WCHAR *appname )
{
static
const
WCHAR
configW
[]
=
{
'S'
,
'o'
,
'f'
,
't'
,
'w'
,
'a'
,
'r'
,
'e'
,
'\\'
,
'W'
,
'i'
,
'n'
,
'e'
,
0
};
static
const
WCHAR
appdefaultsW
[]
=
{
'A'
,
'p'
,
'p'
,
'D'
,
'e'
,
'f'
,
'a'
,
'u'
,
'l'
,
't'
,
's'
,
'\\'
,
0
};
static
const
BOOL
is_win64
=
(
sizeof
(
void
*
)
>
sizeof
(
int
));
OBJECT_ATTRIBUTES
attr
;
UNICODE_STRING
nameW
;
HANDLE
root
,
hkey
,
config_key
;
BOOL
got_win_ver
=
FALSE
;
if
(
is_win64
||
is_wow64
)
current_version
=
&
VersionData
[
WINXP64
];
/* default if nothing else is specified */
else
current_version
=
&
VersionData
[
WINXP
];
current_version
=
&
VersionData
[
WIN7
];
RtlOpenCurrentUser
(
KEY_ALL_ACCESS
,
&
root
);
attr
.
Length
=
sizeof
(
attr
);
...
...
loader/wine.inf.in
View file @
6737ac70
...
...
@@ -3366,23 +3366,23 @@ HKLM,"System\CurrentControlSet\Services\Winsock\Parameters",,16
HKLM,"System\CurrentControlSet\Services\Winsock2\Parameters\Protocol_Catalog9\Catalog_Entries",,16
[VersionInfo]
HKLM,%CurrentVersionNT%,"CurrentVersion",2,"
5
.1"
HKLM,%CurrentVersionNT%,"CSDVersion",2,"Service Pack
3
"
HKLM,%CurrentVersionNT%,"CurrentBuildNumber",2,"
2600
"
HKLM,%CurrentVersionNT%,"CurrentVersion",2,"
6
.1"
HKLM,%CurrentVersionNT%,"CSDVersion",2,"Service Pack
1
"
HKLM,%CurrentVersionNT%,"CurrentBuildNumber",2,"
7601
"
HKLM,%CurrentVersionNT%,"CurrentType",2,"Uniprocessor Free"
HKLM,%CurrentVersionNT%,"ProductName",2,"Microsoft Windows
XP
"
HKLM,%CurrentVersionNT%,"ProductName",2,"Microsoft Windows
7
"
HKLM,%Control%\ProductOptions,"ProductType",2,"WinNT"
HKLM,%Control%\Windows,"CSDVersion",0x10003,0x
3
00
HKLM,%Control%\Windows,"CSDVersion",0x10003,0x
1
00
HKLM,%Control%\Session Manager\Environment,"OS",2,"Windows_NT"
[VersionInfo.ntamd64]
HKLM,%CurrentVersionNT%,"CurrentVersion",2,"
5.2
"
HKLM,%CurrentVersionNT%,"CSDVersion",2,"Service Pack
2
"
HKLM,%CurrentVersionNT%,"CurrentBuildNumber",2,"
3790
"
HKLM,%CurrentVersionNT%,"CurrentVersion",2,"
6.1
"
HKLM,%CurrentVersionNT%,"CSDVersion",2,"Service Pack
1
"
HKLM,%CurrentVersionNT%,"CurrentBuildNumber",2,"
7601
"
HKLM,%CurrentVersionNT%,"CurrentType",2,"Uniprocessor Free"
HKLM,%CurrentVersionNT%,"ProductName",2,"Microsoft Windows
XP
"
HKLM,%CurrentVersionNT%,"ProductName",2,"Microsoft Windows
7
"
HKLM,%Control%\ProductOptions,"ProductType",2,"WinNT"
HKLM,%Control%\Windows,"CSDVersion",0x10003,0x
2
00
HKLM,%Control%\Windows,"CSDVersion",0x10003,0x
1
00
HKLM,%Control%\Session Manager\Environment,"OS",2,"Windows_NT"
[Wow64]
...
...
programs/winecfg/appdefaults.c
View file @
6737ac70
...
...
@@ -146,7 +146,7 @@ static void update_comboboxes(HWND dialog)
return
;
}
if
(
ver
!=
-
1
)
winver
=
strdupA
(
win_versions
[
ver
].
szVersion
);
else
winver
=
strdupA
(
"win
xp
"
);
else
winver
=
strdupA
(
"win
7
"
);
}
WINE_TRACE
(
"winver is %s
\n
"
,
winver
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment