Компьютерный форум OSzone.net  

Компьютерный форум OSzone.net (http://forum.oszone.net/index.php)
-   Скриптовые языки администрирования Windows (http://forum.oszone.net/forumdisplay.php?f=102)
-   -   [решено] Работа с INF файлами (http://forum.oszone.net/showthread.php?t=230307)

O L E G 14-03-2012 09:12 1878855

Работа с INF файлами
 
Вот только столкнулся с такой проблемой в inf файле

[Version]
Signature="$Windows NT$"

[DefaultInstall]
AddReg =REGEntries.AddReg
DelReg =REGEntries.DelReg

[REGEntries.DelReg]
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\explorer.exe
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\regedit.exe
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\regedit32.exe
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cmd.exe
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\start.exe
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\startf.exe
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\msconfig.exe
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\taskmgr.exe
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\mmc.exe
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\sfc.exe
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\svchost.exe
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\wuauclt.exe
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\userinit.exe
HKCU,Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe
HKCU,Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.bat
HKCU,Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.cmd
HKCU,Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.reg
HKCU,Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt
HKU,.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\
HKLM,SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore,DisableConfig


если какой то из этих строк нет в реестре, inf файл перестает дальнейшее действие!
В ЧЕМ МОЖЕТ БЫТЬ ПРОБЛЕМА???????


Время: 01:46.

Время: 01:46.
© OSzone.net 2001-