Set the default system dir to windows/system32.

This commit is contained in:
Alexandre Julliard 2005-08-15 14:53:35 +00:00
parent f356dd541a
commit 19c1af5b01
2 changed files with 12 additions and 10 deletions

View File

@ -881,7 +881,7 @@ static void init_windows_dirs(void)
static const WCHAR windirW[] = {'w','i','n','d','i','r',0};
static const WCHAR winsysdirW[] = {'w','i','n','s','y','s','d','i','r',0};
static const WCHAR default_windirW[] = {'c',':','\\','w','i','n','d','o','w','s',0};
static const WCHAR default_sysdirW[] = {'\\','s','y','s','t','e','m',0};
static const WCHAR default_sysdirW[] = {'\\','s','y','s','t','e','m','3','2',0};
DWORD len;
WCHAR *buffer;

View File

@ -146,6 +146,8 @@ for i in \
"$CROOT/windows/Start Menu/Programs" \
"$CROOT/windows/Start Menu/Programs/Startup" \
"$CROOT/windows/system" \
"$CROOT/windows/system32" \
"$CROOT/windows/system32/drivers" \
"$CROOT/windows/temp"
do
[ -d "$i" ] || mkdir "$i"
@ -162,15 +164,15 @@ 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/system/wcmd.exe"
link_app control "$CROOT/windows/system/control.exe"
link_app winhelp "$CROOT/windows/system/help.exe"
link_app msiexec "$CROOT/windows/system/msiexec.exe"
link_app notepad "$CROOT/windows/system/notepad.exe"
link_app progman "$CROOT/windows/system/progman.exe"
link_app regsvr32 "$CROOT/windows/system/regsvr32.exe"
link_app winemine "$CROOT/windows/system/winmine.exe"
link_app winver "$CROOT/windows/system/winver.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"