PDA

Показать полную графическую версию : DriverPack Solution - установка драйверов


Страниц : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 [32] 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89

Makaan
13-03-2009, 05:39
quarq, Даже не совсем так, скрипт полность распаковывает нужную папку с драйверами в тепм папку, потом происходит запуск DPInst.exe, установшику указывается эта папка, НО вот уже установшик НЕ копирует все файлы, он копирует только файлы прописаные в инф, а вот файлы с панелькой не обрабытываются.

Mr dUSHA , вот просьба к вам как знатоку внутреностей виндовс, как можно заставить его это сделать? Сделать так чтоб не создавалась папка SYSTEM32\DRVSTORE, ну или может есть какой то другой способ установки драйверов, возможно какаято системная процедура или т.п.

quarq
13-03-2009, 12:27
ошибка выглядит приблезительно так: системе не удается нийти CPL по адресу
win\SYSTEM32\ ..... но если зайти поиском он там присутствует

Mr dUSHA
15-03-2009, 20:11
вот просьба к вам как знатоку внутренностей виндовс, как можно заставить его это сделать? Сделать так чтоб не создавалась папка SYSTEM32\DRVSTORE, ну или может есть какой то другой способ установки драйверов, возможно какая-то системная процедура или т.п. »
DPInst.exe выполняет действия по предварительной установке драйвера, описанные в WDK:

Preinstalling Driver Packages

To preinstall driver files, your device installation application should follow these steps:

1). On the target system, create a directory for the driver files. If your device installation application installs an application, the driver files should be stored in a subdirectory of the application directory.

2). Copy all files in the driver package from the distribution media to the directory created in step (1). The driver package includes the driver or drivers, the INF file, the catalog file, and other installation files.

3). Call SetupCopyOEMInf (described in the Microsoft Windows SDK documentation), specifying the INF file in the directory created in step (1). Specify SPOST_PATH for the OEMSourceMediaType parameter and specify NULL for the OEMSourceMediaLocation parameter. SetupCopyOEMInf copies the INF file for the driver package into the %windir%\Inf directory on the target system and directs Windows to store the source location of the INF file in its list of preprocessed INF files. SetupCopyOEMInf also processes the catalog file, so the PnP manager will install the driver the next time it recognizes a device listed in the INF file.

Note: When the user plugs in the device, the PnP manager recognizes the device, finds the INF file copied by SetupCopyOEMInf, and installs the drivers copied in step (2). (For more information about copying INF files, see Copying INFs.)

Таким образом, если драйвера у вас и так уже распакованы на HDD, то вместо использования DPInst.exe, чтоб еще раз не копировать те же драйвера еще и в SYSTEM32\DRVSTORE, можно установку драйверов выполнить в два этапа:

1). Использовать утилиту makePNF.exe из башратовкого пакета для поиска INF-ов в дереве папок, и генерации для них PNF-файлов. То есть то же самое, что и в пункте №3 из цитаты выше;

2). Запустить "devcon rescan" для повторного сканирования и установки драйверов на новое оборудование... Или как-то так...


Если кто-то из разработчиков проекта из шапки программирует на С++, то вы можете за основу взять исходник утилиты devcon, выкинуть оттуда лишнее, и сделать маленькую утилитку-установщик драйверов специально заточенную под ваш проект.

YikxX
16-03-2009, 01:17
А нельзя ли сделать так, чтобы драйвпаки могли находится даже из папки, которая не валяется в корне диска, а лежит глубже. Например из I386\SVCPACK\DRV

truvo
16-03-2009, 01:33
ArtXGroup, полистал тему и не понял - что за изменения в шапке от 13.03?

Makaan
16-03-2009, 07:42
truvo, нету изменений, успокойтесь.

truvo
16-03-2009, 10:59
Тогда о чем в рамке в шапке написано?

AjaX_too
16-03-2009, 12:43
YikxX, покрутите параметр var drpFolder = "" в tools\config.js. думаю должно получиться.

stasys44
16-03-2009, 21:18
Хочу переделать структуру меню:
Меню пункты - Режим, Диспетчер, Справка, Доп.утилиты
Субменю Режима - Установка (Интелектуальная, Ручная, Полная, Распаковка, Обновление баз), Показывать драйверы, Обновление окна, Выход
Остальные пункты без субменю.
В справку входят все о программе, в одном континууме.

Проблема с субменю Режим - если тупо выкидываю 2 пункта, программа ругается и показывает хрень и часики, это из-за части кода
//-- en Changing indicator in menu "Show Driver" -- ru Меняет указатель в меню "Показать драйвер" -- lt Keičia rodiklį meniu "Rodyti tvarkyklę"
Не знаю, что менять, стрелочка то нужна

Makaan
16-03-2009, 22:11
stasys44, Продлогаю тебе подождать выхода следующей версии, она кординально отличается по интерфейсу.

quarq
17-03-2009, 13:24
romeo91, твой дпи версии 2.01 не коректно работает с паками, трудно объяснить, но стал создавать проблемы в устоновке там где их ранше небыло всеже предлогаю поставить 2.1.0 и если хочешь прикрути к нему блатные картинки так будет лучше

ps пака тестируем

ArtXGroup
17-03-2009, 13:26
quarq, поподробнее пожалуйста, с каким железом?
Тоже считаю, что лучше 2.1.0. Картинки можно добавлять в файле конфигураций "DPInst.xml" и не курочить exe файл.

romeo91
17-03-2009, 18:04
quarq,
А описать что за проблемы сможешь?
Я у себя ставлю на компы вроде проблемм не замечал!

Dpinst брал вроде из DP_wsed от Теплый Снег.

Комсомолец
17-03-2009, 18:15
romeo91, Dpinst брал вроде из DP_wsed от Теплый Снег. »
в чем отличие?

quarq
17-03-2009, 20:28
поподробнее пожалуйста »
тестирую не всегда сам, отдаю людям из сервиса говорят: хуже!, они сильно не эксперементируют пошло не пошло... говорят что 6 бетта преятнее похала ....
в чем отличие? »
а разница есть у 201 задействовано 12 библиотек а у 210 - 14 , comdlg32.dll , comctl32.dll вот этих у старой версии нет одна связана с выбором диалога файла GetOpenFileName а вторая:представляет собой модуль, который содержит общие GUI компоненты,(Microsoft ActiveX control) используемые окна приложений.

2.10 - 28.11.2007
- Updated : Some IMAGE_FILE_MACHINE descriptors
- Changed : fileinfo.ini removed from distribution
- Fixed : compatibility with MSWin Vista
- Fixed : protection again DoS vulnerability (see http://securityreason.com/securityalert/3044 )
- Fixed : protection again spoofing (see http://securityreason.com/securityalert/3044 )
- Fixed : Arrow key come back
- Fixed : crash in "Import Table Dump" with some compressed EXE
- Fixed : crash in "Export Table Dump" with some compressed EXE

2.09 - 31.11.2006
- Added : Option to not Load User Font
- Fixed : Crash in disassemble tab with some EXE
- Fixed : CTL-Tab key come back
- Fixed : Tab name with typelib info
- Fixed : Some SH3/SH4 specific dll not recognized

2.08 - 09.11.2006
- Added : Disassembly of code
- Added : Display Entry-point of Executables
- Added : Option to stop pre-detecting COM Interface
- Fixed : protect Win9x machine against malware code in COM interface (need to be tested)
- Fixed : Crash with some Microsoft xpsp... DLL
- Fixed : Incorrect size of windows in quickview mode


2.07 - 24.08.2005
- Added : Relocation entries
- Added : Codeview format "RSDS"
- Added : Option to enable/disable view of runtime function table
- Added : Option to enable/disable view of relocations
- Added : Some IMAGE_DEBUG_TYPE descriptors
- Added : Some IMAGE_FILE_MACHINE descriptors
- Fixed : Crash when dumping 64bits executables with IMAGE_ORDINAL_FLAG64 present
- Fixed : Imported functions not shown in import tab if dll not found

2.06 - 08.07.2005
- Updated : some characteristic flags
- Added : compatibility with 64bits modules
- Added : detection for Xbox system
- Fixed : access to some files not freed
- Fixed : Malware code executed

2.05 - 20.01.2005
- Updated : Display compressed PE-EXE ( Winzip )
- Added : automatic plugin installation (TC 6.5 and above)
- Added : filename in save dialog
- Added : add the same extention to the file in save dialog if none is given
- Fixed : button name in save dialog
- Fixed : crash lister with some UPX compressed EXE files (Maxthon.exe)
- Fixed : unaspack crash with some compressed-EXE

2.04b- 13.09.2004
- Added : can save unpacked file with CTL-S
- Fixed : start COM server with linked extensions (excel, PSP, photoshop,...)

2.04a- 03.09.2004
- Fixed : start excel.exe with cvs file
- Fixed : Scrollbars lost in "Import" tab

2.04 - 01.09.2004
- Added : save "sort" state in "Import" tab
- Added : Dump of LIB, OBJ, EXP files
- Added : register OLE components even if typelib info isn't present
- Fixed : start excel.exe with xls/cvs file
- Fixed : Hscrollbar lost when sorting in "Import" tab

2.03 - 09.07.2004
- Added : Option to change the depth of analysis in DLL dependencies
- Added : Fix for cygwin DLL Dumping (bugged)
- Added : group DLL redondance found in Import table
- Added : typelib information of TLB files
- Fixed : crash in 'Image File Header' when EXE have no Import Table
- Fixed : crash with some Cygwin compiled DLL ( in parts )
- Changed : rewriting some part (speed up file analysis)

2.02 - 18.06.2004
- Fixed : crash in 'Import/Export' when you click outside selections
- Fixed : increase compatibility with some EXE files
- Fixed : hang with damaged executables
- Added : read some unconventional VersionInfo
- Added : Option to sort functions in 'Import/Export' tab
- Added : Jump directly to tabs with CTRL-( 1 to 8 )
- Added : register/unregister activex library
- Added : typelib information
- Added : image for SH3, SH4, SH5, ARM and AMD64 processors
- Changed : page order to be more usefull with autosave option

2.01 - 20.03.2004
- Added : %COMMANDER_PATH% can be used in fileinfo.ini for plugin paths
- Changed : rewriting some part (less memory used and speed up file analysis)
- Fixed : crash with compressed-exe holding delay-load import
- Fixed : crash in 'DLL dependency' on other EXE type than PE

2.00 - 16.03.2004
- Added : can use plugin to pre-analysing, decoding or unpacking executables
- Added : 'Dll dependency' test now missing functions
- Added : copy of exported function undecorate or not(in 'Imports' tabs)
- Added : Depth of analysis in DLL dependencies can now be chosen
- Added : Delayed Import Table added to Dump
- Added : Import/Export tabs
- Added : Function imported can be tested and missing functions will be shown
- Added : version of windows added in 'File properties'
- Changed : demangling of borland C++ more accurate (some problems with multi-nested template)
- Changed : Names of section more explicit
- Fixed : VersionInfo of Visual Basic executables not shown correctly

Send comments to the author :
Francois GANNIER ( fgannier@physio-a.univ-tours.fr )
http://physio-a.univ-tours.fr/tcplugins/
Copyrigth (c) 2002 - 2003 Francois GANNIER
All rigths reserved


вот полный список всех именеий

truvo
18-03-2009, 00:21
Тоже считаю, что лучше 2.1.0 »Так в вашем последнем пакете 2.0.1.0. Или я что-то не понимаю?

Комсомолец
18-03-2009, 03:30
quarq, я так и не понял в чем отличия.

что где изменить, чтобы папку dev_db можно было переместить в папку tools?

Комсомолец
18-03-2009, 11:19
romeo91, спасибо. Уже нашел. Вот таким образом всё заработало:
в TOOLS\config.js переменная var devIDFolder = "tools/dev_db"
в TOOLS\DEVParser переменная SET DB=tools\dev_db.

именно с такими слешами.

romeo91
18-03-2009, 12:19
quarq, ты привел список изменений от плагина Total

Отличие версии 2.1 от 2.0 только более полной поддержкой Vista и других более новых систем.
You should use DPInst version 2.1 for new installation applications instead of DPInst version 2.0, which did not fully support Windows Vista and later versions of Windows.

А то о чем ты говоришь лишь изменение ресурсов файла и XP-шного интерфейса. Функционал при изменении ресурсов не меняется.
Я ставлю на Xp и 2000 и проблемм не наблюдаю. А просто слова что на 6 бете было лучше - это не показатель и паки другие были

По поводу вопросов от папке DrvStore. Не помню кто задавал
Automatic driver package removal. For each driver package that is installed by DPInst, DPInst adds an entry to Add or Remove Programs (in Control Panel) that users can use to remove the driver package from their computers. If a user removes a driver package, the package is removed from the driver store, the corresponding INF file is removed from the system INF file directory, and all of the devices that were previously supported by the package are updated with the next best available driver.
Так что если отключить создание в Add or Remove Programs (если это возможно и файлы сохраняться в drvstore не будут)

romeo91
18-03-2009, 13:59
Тоже считаю, что лучше 2.1.0. Картинки можно добавлять в файле конфигураций "DPInst.xml" и не курочить exe файл. »
Через XML нельзя полностью русифицировать программу. Не хватает параметров
ДУмаю стоит добавить версию 2.1 в пакет. С дизайнов как-нить позже разберемся
Все драйвера от HP давно идут с этой версией




© OSzone.net 2001-2012