Попробую помочь я:
Цитата:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"AppData"="C:\\Documents and Settings\\Shadow\\Application Data"
"Cookies"="C:\\Documents and Settings\\Shadow\\Cookies"
"Desktop"="C:\\Documents and Settings\\Shadow\\Desktop"
"Favorites"="C:\\Documents and Settings\\Shadow\\Favorites"
"NetHood"="C:\\Documents and Settings\\Shadow\\NetHood"
"Personal"="C:\\Documents and Settings\\Shadow\\My Documents"
"PrintHood"="C:\\Documents and Settings\\Shadow\\PrintHood"
"Recent"="C:\\Documents and Settings\\Shadow\\Recent"
"SendTo"="C:\\Documents and Settings\\Shadow\\SendTo"
"Start Menu"="C:\\Documents and Settings\\Shadow\\Start Menu"
"Templates"="C:\\Documents and Settings\\Shadow\\Templates"
"Programs"="C:\\Documents and Settings\\Shadow\\Start Menu\\Programs"
"Startup"="C:\\Documents and Settings\\Shadow\\Start Menu\\Programs\\Startup"
"Local Settings"="C:\\Documents and Settings\\Shadow\\Local Settings"
"Local AppData"="C:\\Documents and Settings\\Shadow\\Local Settings\\Application Data"
"Cache"="C:\\Documents and Settings\\Shadow\\Local Settings\\Temporary Internet Files"
"History"="C:\\Documents and Settings\\Shadow\\Local Settings\\History"
"My Pictures"="C:\\Documents and Settings\\Shadow\\My Documents\\My Pictures"
"Fonts"="C:\\WINDOWS\\Fonts"
"My Music"="C:\\Documents and Settings\\Shadow\\My Documents\\My Music"
"Administrative Tools"="C:\\Documents and Settings\\Shadow\\Start Menu\\Programs\\Administrative Tools"
"CD Burning"="C:\\Documents and Settings\\Shadow\\Local Settings\\Application Data\\Microsoft\\CD Burning"
"My Video"=""
|
Приведена ветвь реестра, отвечающая за системные папки ОС ХР (eng_MUI, у русской другие значения по-умолчанию) у текущего пользователя. Достаточно поменять значение в ходе unattended-установки. При большом желании можно сделать то же непосредственно в дистрибутиве, в соответствующем inf-файле ОС (если не ошибаюсь, hivedef.inf).
Я пользуюсь таким bat-скриптом для подмены расположения временных папок на нужное место:
Код:
![Выделить весь код](images/misc/selectcode.png)
@echo off
set temp=z:\temp
md %temp%\UTF\%username%
reg add "hkcu\Environment" /v TEMP /t reg_sz /d "%temp%\UTF\%username%" /f
reg add "hkcu\Environment" /v TMP /t reg_sz /d "%temp%\UTF\%username%" /f
rem Для следующих двух строк нужно дать разрешение на СОЗДАНИЕ подразделов в соответствующей ветке реестра для соответствующей группы юзеров.
reg add "hklm\SYSTEM\ControlSet001\Control\Session Manager\Environment" /v TEMP /t reg_sz /d "%temp%" /f
reg add "hklm\SYSTEM\ControlSet001\Control\Session Manager\Environment" /v TMP /t reg_sz /d "%temp%" /f
md %temp%\TIF\%username%
reg add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Cache /t reg_sz /d "%temp%\TIF\%username%" /f
reg add "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\user Shell Folders" /v Cache /t reg_expand_sz /d "%temp%\TIF\%username%" /f
Думаю, по примеру разобраться что-к чему трудностей не представляет.
Удачи.