MadBoy Posted November 29, 2006 Author Share Posted November 29, 2006 (edited) Unfortunetly Vingen it's not possible to do that in simple registry, file based way. I think within those 6 pages on forum here i've explained it a lot. Only way to do this is to use AutoIt to simulate clicking in right places (kinda like doing it by hand). No other way for that. EDIT:Here is why:Signing of drivers isn't 100% working. Unfortunetly Microsoft implemented it the way it can't be realy done just by registry. Tests shown that also during change from Warn to IGNORE mode (My Computer -> Properties -> Hardware -> Driver Signing) besides standard registry keys that can be found all over the internet this key below also changes. On my computer it has 2 values (one for IGNORE and one for WARN). So unless i'll find a way to fix it.. Bummer. Maybe someone has some nice idea? Each computer has their own diffrent keys so it's not that simple as i seen on other forums in some posts newwink.gif- HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\PrivateHash 15 CA EF C3 34 E8 C8 78- HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\PrivateHash 01 32 A3 68 55 C2 D2 00Problem of signing drivers on unnatended cd doesn't exist because you can set the right value in winnt.sif or sysprep.inf. Or so i have read on Microsoft pages smile.gif Oh well, we will see..I know Bashrat used program made by pyron but i don't think it works 100% :/ Edited November 29, 2006 by MadBoy Link to comment Share on other sites More sharing options...
qwerty009 Posted December 2, 2006 Share Posted December 2, 2006 Got one feature req here. Is it possible to make hardware.exe also to upgrade current drivers? When drivers dir has a never vers of driver than currently installed then it automatically updates it.Sorry for s***ty English Link to comment Share on other sites More sharing options...
MadBoy Posted December 2, 2006 Author Share Posted December 2, 2006 That ain't very easy and most likely will be available in Professional version of my app that i try to write when i have time. But since i am chaning jobs now (again), moving to other city so it will take some time to produce it I tried to change some code in last hardware version to cleanup some code and to make it more efficient but actually it was slower then with old code so i kinda got depressed and started to think that i need to learn C++ or/and C# to do it properly. Link to comment Share on other sites More sharing options...
amishexile Posted December 14, 2006 Share Posted December 14, 2006 Hi, i know this is a little late, also i may have already been mentioned. I was wondering if there was some way that the Drivers_drive could equal NETWORK, and the Drivers_dir = a network share, ie.. \\sever1\driversand one other request would be that the copy_drivers path = a relative path...so a hardware.ini like this:Drivers_drive=NetworkDrivers_dir=\\server1\driversDevice_manager=OnMethod=RegistryDevicePathLogging_to_file=YesLogging_option=SimpleDrivers_Packed=NoCopy_drivers=YesCopy_where=%systemdrive%\DriversDelete_drivers=NoCreate_backup=NoDebug=NoTime_to_start=0Good job on the awesome program!any help would be great! thnx, Daniel Link to comment Share on other sites More sharing options...
MadBoy Posted December 15, 2006 Author Share Posted December 15, 2006 It's not late at all! I'm still here developing it once per week or so but i kinda lost some motivation after doing tests on changing function for RegistryPathAdding in pure AutoIt without using Dir command output.. and even thou the code looked great it was much much slower....!! So kinda dismotivated me as it was clue to more and nicer features. Problem with your requests is that CMD windows (and that's a clue to working on with DIR command) won't work with network drive that easy... And as for the relative path it can be done easly i guess. JUst i am dismotivated but maybe new job that i am about to start on january will speed things up a bit ;DTnx for appreciation. New version that i started working on looks much much nicer but it will take longer while! I wish i could do it in C# or C++! Link to comment Share on other sites More sharing options...
jefflin Posted December 18, 2006 Share Posted December 18, 2006 (edited) excuse me!....i can't use hardware.exe!i enable DEBUG in hardware.iniSo i know ,hardware.exe can't find any *.inf,please HELP ME!hardware.ini:[iNFO]Start=ManualDrivers_drive=cDrivers_dir=\DriversDevice_manager=OffMethod=RegistryDevicePathLogging_to_file=YesLogging_option=AdvancedDrivers_Packed=7zipCopy_drivers=YesCopy_where=C:\DriversDelete_drivers=NoCreate_backup=NoDebug=YesLOG:[18:39:16] - DEBUG in REGISTRYDEVICEPATH FUNCTION 0: [18:39:16] - DEBUG in REGISTRYDEVICEPATH FUNCTION 0: Directory of c:\Drivers\S\R\2[18:39:16] - DEBUG in REGISTRYDEVICEPATH FUNCTION 1: Directory of c:\Drivers\S\R\2[18:39:16] - DEBUG in REGISTRYDEVICEPATH FUNCTION 2: 2[18:39:16] - DEBUG in REGISTRYDEVICEPATH FUNCTION 3: c:\Drivers\S\R\2[18:39:16] - DEBUG in REGISTRYDEVICEPATH FUNCTION 4: Drivers\S\R\2[18:39:17] - DEBUG in REGISTRYDEVICEPATH FUNCTION 5: c:\Drivers\S\R\2\ *.inf "(have one space)"[18:39:17] - DEBUG in REGISTRYDEVICEPATH FUNCTION 6: 1[18:39:17] - DEBUG in REGISTRYDEVICEPATH FUNCTION 0: [18:39:17] - DEBUG in REGISTRYDEVICEPATH FUNCTION 0: 09/15/2006 11:54 PM <DIR> .[18:39:17] - DEBUG in REGISTRYDEVICEPATH FUNCTION 0: 09/15/2006 11:54 PM <DIR> ..[18:39:17] - DEBUG in REGISTRYDEVICEPATH FUNCTION 0: 0 File(s) 0 bytes[18:39:17] - DEBUG in REGISTRYDEVICEPATH FUNCTION 0: [18:39:17] - DEBUG in REGISTRYDEVICEPATH FUNCTION 0: Directory of c:\Drivers\S\R\1[18:39:18] - DEBUG in REGISTRYDEVICEPATH FUNCTION 1: Directory of c:\Drivers\S\R\1[18:39:18] - DEBUG in REGISTRYDEVICEPATH FUNCTION 2: 2[18:39:18] - DEBUG in REGISTRYDEVICEPATH FUNCTION 3: c:\Drivers\S\R\1[18:39:18] - DEBUG in REGISTRYDEVICEPATH FUNCTION 4: Drivers\S\R\1[18:39:18] - DEBUG in REGISTRYDEVICEPATH FUNCTION 5: c:\Drivers\S\R\1\ *.inf "(have one space)"[18:39:18] - DEBUG in REGISTRYDEVICEPATH FUNCTION 6: 1[18:39:18] - DEBUG in REGISTRYDEVICEPATH FUNCTION 0: [18:39:18] - DEBUG in REGISTRYDEVICEPATH FUNCTION 0: 09/15/2006 11:55 PM <DIR> .[18:39:18] - DEBUG in REGISTRYDEVICEPATH FUNCTION 0: 09/15/2006 11:55 PM <DIR> ..[18:39:18] - DEBUG in REGISTRYDEVICEPATH FUNCTION 0: 0 File(s) 0 bytes Edited December 18, 2006 by jefflin Link to comment Share on other sites More sharing options...
MadBoy Posted December 18, 2006 Author Share Posted December 18, 2006 I will need couple things more. Paste entire log or send it to support@pro-solutions.pl and i should take a look at it. As i noticed your hardware.ini file is a bit misconfigured i would say, or use in non-supported way to be precise. The way u use the program now you have to have your drivers packed in .7z format? Do you have that? Check what i changed. Put packed drivers in DriversPacked dir on C and try that config below. Might work. Also tell me what your system language is? I think it might be problem here as i believe DIR command might have diffrent output then on ENGLISH/PL system. I think i'll add an option to use either this function or the new one i wrote (slower but language independant i think). And let ppl decide which one they want to use. Anyway lemme know what is the result.[iNFO]Start=ManualDrivers_drive=CDrivers_dir=\DriversPackedDevice_manager=OffMethod=RegistryDevicePathLogging_to_file=YesLogging_option=AdvancedDrivers_Packed=7zipCopy_drivers=YesCopy_where=C:\DriversDelete_drivers=NoCreate_backup=NoDebug=Yes Link to comment Share on other sites More sharing options...
MadBoy Posted December 18, 2006 Author Share Posted December 18, 2006 @jefflinhttp://www.pro-solutions.pl/download.php?id=2311123534 --> this is test version with diffrent code for .inf finding. Lemme know if it works for you. It's not realy tested so expect bad things to happen. And like i said before it's slower then 0.6.7. Link to comment Share on other sites More sharing options...
jefflin Posted December 18, 2006 Share Posted December 18, 2006 thank you answer!...thank very much....my use language is Chinese traditional.....SO..i think , error in language...thank you HELP ME.....may I help you ....test one version on other language.....last thank you very much....And MY ENGLISH very poorness....SORRY!!! Link to comment Share on other sites More sharing options...
jefflin Posted December 19, 2006 Share Posted December 19, 2006 (edited) MY *.ini AND *.logNEW version LOG AND INIhave some BUG.....I Hope to you to DEBUG.....Thank you help me....... Edited December 19, 2006 by jefflin Link to comment Share on other sites More sharing options...
MadBoy Posted December 19, 2006 Author Share Posted December 19, 2006 (edited) @Jefflin: i'm not able to help you a lot in this. First of all your .ini file is poorly done. That's yours.[iNFO]Start=ManualMode=StandardDrivers_drive=CDrivers_dir=/driversDevice_manager=OffMethod=RegistryDevicePathLogging_to_file=YesLogging_option=AdvancedDrivers_Packed=NoCopy_drivers=NoCopy_where=Delete_drivers=NoCreate_backup=NoLeave_registry_entries=NoTime_To_Start=0Debug=YesShould be: (notice - Drivers_Drive and Drivers_dir must be case sensitive. Also make sure in C:\drivers drivers are unpacked)[iNFO]Start=ManualMode=StandardDrivers_drive=CDrivers_dir=\driversDevice_manager=OffMethod=RegistryDevicePathLogging_to_file=YesLogging_option=AdvancedDrivers_Packed=NoCopy_drivers=NoCopy_where=Delete_drivers=NoCreate_backup=NoLeave_registry_entries=NoTime_To_Start=0Debug=YesLemme know if this .ini works.. Also i noticed you use Windows 2000. Unfortunetly Windows 2000 isn't fully supported by my program. It should work, but Windows 2000 messages about detecting of new devices might show up. In Windows XP everything should be realy automated. Lemme know if this helps.Also make sure that device you are removing from system realy have the drivers for it in C:\drivers dir. Bashrat Packs have most of drivers needed for system but not all. So it might be also that if drivers for your device aren't found that they simply aren't there. Edited December 19, 2006 by MadBoy Link to comment Share on other sites More sharing options...
jefflin Posted December 19, 2006 Share Posted December 19, 2006 (edited) SORRY.....i miss it....i try again...., very sorry... Edited December 21, 2006 by jefflin Link to comment Share on other sites More sharing options...
kickarse Posted December 23, 2006 Share Posted December 23, 2006 (edited) Also remember to do a backward slash for the driver location folder \Drivers . It's different than the web.Madboy - What are you writing the code with/in? Edited December 23, 2006 by kickarse Link to comment Share on other sites More sharing options...
fatlam Posted December 25, 2006 Share Posted December 25, 2006 very useful! Link to comment Share on other sites More sharing options...
MadBoy Posted December 25, 2006 Author Share Posted December 25, 2006 @kickarse: sorry for late replay but since you edited your post it didn't had the question to me when i read it first time ;p Well i write my code in AutoIt It's very good language and preety nice but slower then C++. Hope this answers your question.@fatlam: thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now