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
9443a739
Commit
9443a739
authored
Mar 04, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Predefine the SystemRoot and SystemDrive variables.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f6e64c55
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
env.c
dlls/ntdll/unix/env.c
+2
-0
wine.inf.in
loader/wine.inf.in
+5
-7
No files found.
dlls/ntdll/unix/env.c
View file @
9443a739
...
...
@@ -1239,6 +1239,8 @@ static void add_dynamic_environment( WCHAR **env, SIZE_T *pos, SIZE_T *size )
append_envA
(
env
,
pos
,
size
,
"WINELOCALE"
,
system_locale
);
append_envA
(
env
,
pos
,
size
,
"WINEUSERLOCALE"
,
strcmp
(
user_locale
,
system_locale
)
?
user_locale
:
NULL
);
append_envA
(
env
,
pos
,
size
,
"SystemDrive"
,
"C:"
);
append_envA
(
env
,
pos
,
size
,
"SystemRoot"
,
"C:
\\
windows"
);
}
...
...
loader/wine.inf.in
View file @
9443a739
...
...
@@ -639,14 +639,12 @@ HKLM,%Control%\Session Manager,HeapDeCommitFreeBlockThreshold,0x00040002,0
HKLM,%Control%\Session Manager,HeapDeCommitTotalFreeThreshold,0x00040002,0
HKLM,%Control%\Session Manager,HeapSegmentCommit,0x00040002,0
HKLM,%Control%\Session Manager,HeapSegmentReserve,0x00040002,0
HKLM,%Control%\Session Manager\Environment,"ComSpec",0x00020000,"%
11%
\cmd.exe"
HKLM,%Control%\Session Manager\Environment,"PATH",0x00020002,"%
11%;%10%;%11%\wbem;%11%
\WindowsPowershell\v1.0"
HKLM,%Control%\Session Manager\Environment,"ComSpec",0x00020000,"%
SystemRoot%\system32
\cmd.exe"
HKLM,%Control%\Session Manager\Environment,"PATH",0x00020002,"%
SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\wbem;%SystemRoot%\system32
\WindowsPowershell\v1.0"
HKLM,%Control%\Session Manager\Environment,"PATHEXT",,".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH"
HKLM,%Control%\Session Manager\Environment,"SystemDrive",2,"c:"
HKLM,%Control%\Session Manager\Environment,"SYSTEMROOT",,"%10%"
HKLM,%Control%\Session Manager\Environment,"TEMP",0x00020002,"%10%\temp"
HKLM,%Control%\Session Manager\Environment,"TMP",0x00020002,"%10%\temp"
HKLM,%Control%\Session Manager\Environment,"windir",0x00020000,"%10%"
HKLM,%Control%\Session Manager\Environment,"TEMP",0x00020002,"%SystemRoot%\temp"
HKLM,%Control%\Session Manager\Environment,"TMP",0x00020002,"%SystemRoot%\temp"
HKLM,%Control%\Session Manager\Environment,"windir",0x00020000,"%SystemRoot%"
HKLM,%Control%\Session Manager\Environment,"winsysdir",,"%11%"
HKLM,%Control%\Session Manager\Memory Management,PagingFiles,,"%24%\pagefile.sys 27 77"
HKLM,%Control%\Session Manager\Memory Management,WriteWatch,0x00040002,1
...
...
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