Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d404fb5b
Commit
d404fb5b
authored
Mar 21, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wine.inf: Use the new fake dlls mechanism to create placeholders for
applications instead of using symlinks.
parent
2f281946
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
34 deletions
+19
-34
wine.inf
tools/wine.inf
+19
-0
wineprefixcreate.in
tools/wineprefixcreate.in
+0
-34
No files found.
tools/wine.inf
View file @
d404fb5b
...
...
@@ -27,6 +27,7 @@ signature="$CHICAGO$"
[DefaultInstall]
RegisterDlls=RegisterDllsSection
WineFakeDlls=FakeDllsSection
UpdateInis=SystemIni
AddReg=\
Classes,\
...
...
@@ -48,6 +49,7 @@ AddReg=\
[DefaultInstall.NT]
RegisterDlls=RegisterDllsSection
WineFakeDlls=FakeDllsSection
UpdateInis=SystemIni
AddReg=\
Classes,\
...
...
@@ -2100,6 +2102,23 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
11,,shell32.dll,1
11,,urlmon.dll,1
[FakeDllsSection]
10,,notepad.exe
10,,regedit.exe
10,,rundll32.exe
10,,winebrowser.exe
10,,winhelp.exe
10,,winhlp32.exe,winhelp.exe
10,command,start.exe
11,,control.exe
11,,help.exe,winhelp.exe
11,,msiexec.exe
11,,notepad.exe
11,,progman.exe
11,,regsvr32.exe
11,,wcmd.exe
11,,winver.exe
[SystemIni]
system.ini, mci,,"MPEGVideo=mciqtz.drv"
system.ini, mci,,"MPEGVideo2=mciqtz.drv"
...
...
tools/wineprefixcreate.in
View file @
d404fb5b
...
...
@@ -164,40 +164,6 @@ do
[
-d
"
$i
"
]
||
mkdir
"
$i
"
done
# Create the application symlinks
link_app
()
{
if
[
!
-f
"
$2
"
]
then
# make a copy if the original is writable
if
[
-w
"
$dlldir
/
$1
.exe.so"
]
then
cp
"
$dlldir
/
$1
.exe.so"
"
$2
"
||
echo
"Warning: failed to create
$2
"
else
ln
-s
"
$dlldir
/
$1
.exe.so"
"
$2
"
||
echo
"Warning: failed to create
$2
"
fi
fi
}
link_app start
"
$CROOT
/windows/command/start.exe"
link_app notepad
"
$CROOT
/windows/notepad.exe"
link_app regedit
"
$CROOT
/windows/regedit.exe"
link_app rundll32
"
$CROOT
/windows/rundll32.exe"
link_app wcmd
"
$CROOT
/windows/system32/wcmd.exe"
link_app control
"
$CROOT
/windows/system32/control.exe"
link_app winhelp
"
$CROOT
/windows/system32/help.exe"
link_app msiexec
"
$CROOT
/windows/system32/msiexec.exe"
link_app notepad
"
$CROOT
/windows/system32/notepad.exe"
link_app progman
"
$CROOT
/windows/system32/progman.exe"
link_app regsvr32
"
$CROOT
/windows/system32/regsvr32.exe"
link_app winemine
"
$CROOT
/windows/system32/winmine.exe"
link_app winver
"
$CROOT
/windows/system32/winver.exe"
link_app uninstaller
"
$CROOT
/windows/uninstall.exe"
link_app winhelp
"
$CROOT
/windows/winhelp.exe"
link_app winhelp
"
$CROOT
/windows/winhlp32.exe"
link_app winebrowser
"
$CROOT
/windows/winebrowser.exe"
# Copy the .inf script and run it
cp
"
$datadir
/wine.inf"
"
$CROOT
/windows/inf/wine.inf"
...
...
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