Cheers!
Drivers Instalation in Post-Install stage (New Method) Updated: 1.XII.2009 version 2.0.0.28
#251
Posted 23 March 2007 - 02:38 PM
Cheers!
#252
Posted 26 March 2007 - 03:01 AM
Changelog for 0.7.1
- Fixed (hopefully, needs testing) better detection of devices with problems (thanks Jeca)
- Cleaned up, change code for removal of devices (requires testing aswell)
Download available in first post.
#253
Posted 26 March 2007 - 04:24 PM
Now programm working.
? How disable pop-up window when copy not sertificed drivers (Method=SetupCopyOemInf)
if install drivers from DriverPack, need wery long time to close all pop-up windows.
This post has been edited by jeca: 26 March 2007 - 04:57 PM
#254
Posted 27 March 2007 - 04:35 AM
You can go into Properties of My Computer / Hardware and change policy to ignore unsigned drivers. I am trying to implement that in program itself so it would be done automatically. Currently there's no other way to done it then Manually / Setting it during unattended instalation. Problem with automatic that process is that it isn't simply registry changes. It will require me to actually "go and press the right buttons" with AutoIt mouse gesture/windows controling.
I have some ideas how to do that and all. Just not realy motivated
#255
Posted 27 March 2007 - 07:21 PM
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
0 - enable WFP/SFC
1 - disable WFP/SFC to next reebot, ask to enable
2 - disable WFP/SFC to next reebot
4 - disable WFP/SFC, off all massage
FFFFFF9D - full disable WFP/SFC.
And im fink need one correct program.
Programm registred to many not needed inf files (if yousing diriver pack 20-100)
But installing 1-10 device. (im fink need filter to device ID for install only needed inf files)
#256
Posted 28 March 2007 - 01:33 AM
jeca, on Mar 28 2007, 03:21 AM, said:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
0 - enable WFP/SFC
1 - disable WFP/SFC to next reebot, ask to enable
2 - disable WFP/SFC to next reebot
4 - disable WFP/SFC, off all massage
FFFFFF9D - full disable WFP/SFC.
Well i am not sure this will work. From my WFP and SFC are diffrentthings then unsigned drivers.
Quote
Programm registred to many not needed inf files (if yousing diriver pack 20-100)
But installing 1-10 device. (im fink need filter to device ID for install only needed inf files)
Well why are you using Method SetupCopyOemInf then? That's what it does. It implements every inf it finds into Windows drivers dir. Of course this could be changed by either preparing packs for each computer by hand. Otherwise it's a lot of work for program to do it. If you want drivers just for devices you have installed use RegistryDevicePath method which will only put drivers that need to be put and will skip the rest. Those are 2 diffrent methods and you should be the one to choose which one suits you the best.
#258
Posted 19 April 2007 - 04:08 PM
This is a great utility if you are able to run from a drive letter, but not if you want to run from a UNC path.
I have tried using
Drivers_drive=RELATIVE
Drivers_dir=\D
where \D is the drivers folder, but get this error:
Path specified in config file doesn't exist (\:\D). Terminating!
Also, If I have the following structure C:\Temp\hardware.exe and C:\Temp\D and run hardware with any Drivers_Drive option, I get the following error:
Path specified in config file doesn't exist (C:\D). Terminating!
This would show that this neat app is coded ONLY for drive letters, and that the RELATIVE option is not actually relative to the location of the exe file, but simply picks up the current drive letter.
Please can this be changed so it will work from unc paths and the RELATIVE option actually is relative(to where the exe is run from), and does not just pick up the current drive letter?
Many Thanks
Tim
#259
Posted 20 April 2007 - 01:48 AM
Quote
As mentioned on first post this is normal behaviour for it. Just set Drivers_dir=\TEMP\D and everythign will be fine. I did it this way because CDROM or REMOVABLE always reports driveletter only, same when you use drive letter manually. To make it work diffrent for Relative i would have to do a lot of code workarounds and change stuff in many many places. That's why it's done this way. Also it might give ppl some confusion if once it will be only drive letter and the other time relative path. Besides as it's states Drivers_drive is Drivers Drive
As for the UNCPATH's i'll see what i can do
#260
Posted 24 April 2007 - 12:06 PM
i think this is a very useful tool!
But i still have a question about the methods:
Quote
You wrote that the second method "SetupCopyOemInf" copies the files to C:\Windows\System32\Drivers dir.
Will there be copied all drivers to "System32\Drivers", which i have in the drivers direction (Drivers_dir) or only the "removed unknown devices" which were found?
Because i want to make a DVD with all the driverpacks (unpacked) from Bashrat (driverpacks.net).
I only want to install the driver for the "removed unknown devices". Nothing else (no integration)
But when i use the "RegistryDevicePath"-Method, the following failure is shown:
- Setting path into registry using RegistryDevicePath method.
- Device Path in registry currently has 8999. Maximum path is 4096 characters.
- It is suggested, that if Device Path is longer then 4000 characters you should use SetupCopyOemInf method.
- If you don't want to do so you can cut some dirnames so those will be shorter, cutting down the number of characters overall.
I'm from Germany, so sorry for my bad English.
Thanks a lot for help.
#262
Posted 25 April 2007 - 10:21 AM
- as for the SetupCopyOemInf method unfortunetly it copies all the .inf files into directory so it's very painfull. I have a PLAN for every method to support only those nessecary but that requires going thru .inf files. So i was thinking about some little tool to create pre-db so that kind of information can be cached instead of looking at it at instalation time.
- anyways i wouldn't worry about the 4000 chars limit too much. On your place i would test it if it works without problems first on RegistryPath method as i think it just ignores the limit realy. I've put it there just in case but i have tested it several times and it seems to just work fine. Especially that the number of chars in actual registry path is READ from registry so it is there
@geo411m
- well it depends if you have used the packed drivers with .7zip or you unpacked them first. If you used packed drivers then it's normal for 7zip to take longer time to unpack those as they are heavily packed. If you have unpacked them before and the process is still taking long time then you should keep in mind that what actually windows does is going thru all .inf files and comparing them to device that's missing the drivers, and you have like 3GB of drivers! That is supposed to take time. You can do 2 things:
1. Limit the number of drivers in it (like keep one dir per few PC/Notebook models)
2. Use all drivers option only for realy bad cases when you are unsure what drivers are missing and it would take you longer to do it manually then doing it with my little proggy.
Actually the solution for both of you is the pre-db of drivers .inf files and corresponding HW-ID to them. That would heavily speed up the process if i would create program that creates little db (simple file would do i guess) and that program should be run after you prepare your cd/flashdrive or drivers directory. Then my program wouldn't have to go thru all directories and add them to registry or copy using the other method but would actually just use the file to compare what Windows realy wants and put only 'right' stuff. It would save a lot of time i guess.
That's in my PLAN for future addition to my proggy. Just i am preety much busy at work latly as i got too many things on my head. Right now i am in UK on delegation trying to takeover builds work from UK team so we can do it cheaper in Poland
Also my motivation on developing this proggy further running preety low
@bingothepyro
I was thinking a bit more about your request for UNCPATHS and i am not sure registrydevicemethod supports those. I haven't tested it but i see quite few problems. Especially when you are missing network card drivers
#263
Posted 25 April 2007 - 10:57 AM
thanks again...
#264
Posted 27 April 2007 - 02:32 AM
geo411m, on Apr 25 2007, 05:57 PM, said:
thanks again...
Have you tried to use them without compresing them? Could you compare both methods? Compressed vs Uncompressed? And what's the time of each.
#265
Posted 27 April 2007 - 11:35 AM
MadBoy, on Apr 27 2007, 04:32 AM, said:
geo411m, on Apr 25 2007, 05:57 PM, said:
thanks again...
Have you tried to use them without compresing them? Could you compare both methods? Compressed vs Uncompressed? And what's the time of each.
uncompressed takes like 2 mins compressed like 10-15 maybe more.
#266
Posted 27 April 2007 - 01:43 PM
Quote
Hey, as you noticed yourself the diffrence is huge and mostly depends on speed of computer and how the drivers are packed and not realy on my program. Solution to that is to get bigger Usb stick to keep drivers unpacked
Anyway having them 'cached' in my program would speed it up even more
This post has been edited by MadBoy: 27 April 2007 - 01:43 PM
#267
Posted 27 April 2007 - 04:26 PM
MadBoy, on Apr 27 2007, 03:43 PM, said:
Anyway having them 'cached' in my program would speed it up even more
thats what i been doing and it works well. thanks...
#268
Posted 16 May 2007 - 12:17 PM
Lovely program, appreciate the hard work!!
#269
Posted 17 May 2007 - 04:04 AM
oldo, on May 16 2007, 07:17 PM, said:
Lovely program, appreciate the hard work!!
Currently program tries to write file to same folder as the program starts from. If it can't do that (like on CD) it writes it to C:\
I can prolly implement it but what options would you like to see? As in where would you like to put the log file? Gimme some justification please ?
#270
Posted 17 May 2007 - 03:38 PM
My unattended setup connects to the network at runoncex and runs the rest of the setup from there (so i can modify the vast majority of the setup process centrally). Currently all of my apps are installed from packages located on the server, and i would like to do the same with drivers
Again, thanks for the great amount of work you've obviously put into this!
Chris
This post has been edited by oldo: 17 May 2007 - 03:42 PM



Help


Back to top









