Drivers Instalation in Post-Install stage (New Method) Updated: 1.XII.2009 version 2.0.0.28
#91
Posted 14 September 2006 - 09:25 AM
#92
Posted 14 September 2006 - 01:11 PM
#93
Posted 14 September 2006 - 03:06 PM
I suspect when I downloaded and overwrote the old version it didn't do it correctly.
Will let you know on Tuesday whether this clean download solves it.
Thanks for all the assistance and fixes!
#94
Posted 14 September 2006 - 10:05 PM
also, if I choose Begin or End... it still finds the existing INF first, and asks for the missing files. However, if I choose None, it will search the CD and will overlook the existing INF's like it is supposed to.
I was also wondering, after the devices are re-detected, I have to walk windows through the new hardware wizard. Can this be made automated? or is that already planned for a future release?
Here is my INI file if needed:
[INFO] Start=Automatic Mode=Standard Drivers_drive=CDROM Drivers_dir=\All_Drivers Device_manager=Off Method=RegistryDevicePath Logging_to_file=Yes Logging_option=Advanced Drivers_Packed=No Copy_drivers=No Copy_where=C:\Drivers Delete_drivers=Yes Create_backup=No Leave_registry_entries=No Debug=No [ADVANCED] Registry_path=None Problem_Ids=01,10,18,28,37,39
This post has been edited by discountpc: 14 September 2006 - 10:06 PM
#95
Posted 14 September 2006 - 10:28 PM
#96
Posted 15 September 2006 - 01:35 AM
As for the Windows Wizard it's complicated issue. Are you sure you have correct 'paths' added in registry (as i said earlier there might have been problem with earlier version 0.5.4 and all before that)? I'll release 0.5.5 shortly to fix the confusion ;p
#97
Posted 15 September 2006 - 07:48 AM
If that's how it works, then we need to figure out how to automate that as it defeats the purpose of unattended installation.
So far so good though. It seems to be doing what it's supposed to other than the wizards.
#98
Posted 15 September 2006 - 12:29 PM
I would expect all the ppl that were experiencing problem with Add hardware wizard to be connected with the bug that wasn't adding paths to registry and when PLUG & PLAY found some device, and no drivers (as no path in registry = no drivers) then the wizard was showing. But if the wizard always shows up and the registry path is CORRECT then it's plain wrong.
If the wizards are really showing up for everyone and for every device maybe it's problem for WINDOWS to distinguish between multiple modem's, mulitple vga cards etc. Anyone tried it with using just one driver for modem, one vga card etc? I just don't get why the wizards would appear.
I realy have no idea WHY the Wizards show up, maybe there's a way to force window to not use WIZARDS at all (for the time the program runs or so). Anyone with info about that?
The last bastion can be of course use of AutoIt functionality to control widnows and to just make the program do the wizards for user. Only problem is it won't loook "as good" and i will have to learn functions that control mouse, windows etc
Anyway if you guys can help me out on the topic about Wizards we can realy make it work and be very usefull for a lot of ppl.
#99
Posted 15 September 2006 - 06:11 PM
I will test this extensively on Tuesday when I'm back in front of the images I'm working on.
I have 9 different machines at my bench (6 different desktops and 3 different laptops) so I should be able to stress test this to the max.
Can you Upload 0.5.5 with all minor correction so I can use the latest cleaned build?
Incidently, what is the maximum path length for this registry key? I think it's 4096 characters - can you confirm?
Also, if you can write some logic into your code to display the length of the path (in the window) it will add to the registry it would be very helpful as a visual indicator of how close we are to the limit.
Thanks,
NM
#100
Posted 15 September 2006 - 06:26 PM
I have noticed one interesting thing which *may* prompt the Wizard to show up even if the drivers are located in the DevicePath path.
In the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup
...there is a value: Installation Sources
...which seem to hold paths to the drivers that were installed last.
If these values conflict, it may prompt the Wizard to appear.
I wonder if capturing, deleting then repopulating that value might work??
#101
Posted 15 September 2006 - 07:52 PM
I used to have nice testing desk since i worked for company with over 2000 ppl and they didn't had same hw... so testing was included daily then. But now i changed work and i don't do that anymore so the program i'm writting just to fullfill needs as i knew it's pain in the a**.
Little off topic:
My company also used other project of mine. Installer of software. Worked preety nice, but also stopped developing due to diffrent company
showoff.JPG (32.15K)
Number of downloads: 68
showoff1.JPG (44.88K)
Number of downloads: 49
The use is simple. you just choose either profile or by hand programs you want to install and it does it automatically. Worked preety nice. Program was using network share with access to /ADVANCED dir (office2003 etc) only if someone was in Domain Admins or MsOffice2003 grp in Active Directory so only some ppl could use it. Program also supported multiple localizations. So if you have like lets say Washington, NewYork and server in each city that is replicated thru domain... program would detect where you are and use the closest location to you, or would tell you to "f... off" if you don't have server near by. I also had a bunch of little programs so i was just sending litle exe in mail, adding user to right grp in AD and they were able to install office with 2-3 clicks
Anyways ;P
I did some googling on this key you gave me and seems it's no GO
If Windows setup can't find your install files:
Start/Run/Regedit. Go to HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Setup. Change the path.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Sourcepath
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sourcepath
those are for Windows CD and should be pointing to <driveletter>:\i386 and <driveletter>:
Changing the default Win2000 install path: Top
If you want to change where Windows 2000 expects to find the installtion source files, edit:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Setup
and substitute your hard disk path for the existing CD-ROM path.
If a value isn't there, click Edit, New, String Value. For the name enter
SourcePath and press enter. Then double click SourcePath and enter the
path to your installation files, e.g. C:\I386. (it must have a I386 structure)
Next, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion. In RegEdit's right pane, double-click SourcePath and
enter the new path, e.g. C:\I386.
You should also check:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\
Installation Sources
and
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\
SourcePath
for a path to the CD-ROM drive. If the CD-ROM path appears in these keys, then change them to the hard disk path also.
I'll read some, maybe i'll find something about the wizard :/
#102
Posted 15 September 2006 - 08:33 PM
#103
Posted 15 September 2006 - 09:24 PM
here is what I gathered from it
[23:10:26] - DEBUG in REGISTRYDEVICEPATH FUNCTION 0: Total Files Listed: [23:10:26] - DEBUG in REGISTRYDEVICEPATH FUNCTION 0: 0 File(s) 0 bytes [23:10:26] - DEBUG in REGISTRYDEVICEPATH FUNCTION 0: 158 Dir(s) 8,992,768 bytes free
I gather that it hasn't detected ANY of the inf's that I have in the All_Drivers folder... shouldn't it have found the files in each of the folders and reported a size???
also, still with the new 5.5 version, when the program starts it changes the "devicepath" key from "%systemroot%\inf;" to blank... then back to the systemroot after closing... with all 3 registry options (Begin, End & None).
the full debug is attached to this post if u need a further look.
Attached File(s)
-
hardware.log.txt (36.4K)
Number of downloads: 8
This post has been edited by discountpc: 15 September 2006 - 09:25 PM
#104
Posted 15 September 2006 - 10:07 PM
Check your PM's....
(Edit) ... now a 2nd PM, and a further in-depth incite...
If you want you can either post or pm a reply... doesn't matter to me, but let me know either way.
~Dave
This post has been edited by discountpc: 15 September 2006 - 11:07 PM
#105
Posted 16 September 2006 - 03:17 AM
- seems like i missed one thing in program that was related to bug in 0.5.5. Users that were using CDROM or REMOVABLE for drivers_drive wouldn't get DevicePath into registry. (tnx discountpc AGAiN)
- added into program counting for DevicePath lenght. It's added to output and to logfile. Later on maybe i'll redo the look a bit and add it in some better place but for now the log box is nice ;p (requested by netman66)
Should fix the issue now discountpc
This post has been edited by MadBoy: 16 September 2006 - 06:14 AM
#106
Posted 16 September 2006 - 08:06 AM
I'm a code junkie usually, but this program is like Chinese to me
I just got to work, so I will test if I get a sec... otherwise I'll test once I get home.
~Dave
#107
Posted 16 September 2006 - 07:52 PM
MadBoy, on Sep 16 2006, 05:17 AM, said:
Should fix the issue now discountpc
Just downloaded & tested 0.5.6 ... and issue still seems to remain that the drive is not registered as a variable and thus not stored in the registry... I haven't had time to debug it yet and I have only tested with the CDROM tag at the momemnt... but still no path is entered
...also would it be possible to detect the class of the device (audio, video, network) and have it search specific folders before it starts searching the entire Drivers DIR? ... to kinda make Bashrat The Sneeky's Driver packs more usefull... like this structure: a sound device will search the X:\All_Drivers\S (S for sound) first. or X:\All_Drivers\G (for Graphics). I think this would dramaticly cut down on the install times specifcly when using Bashrats driverpacks.
~Dave
This post has been edited by discountpc: 16 September 2006 - 08:27 PM
#108
Posted 17 September 2006 - 02:05 AM
Suggestion: in driver_drive can take network path like - ( \\server\drivers\all_driver ), it would be very helpful as we don't need to manual MAP the network dirve
next week i am going to test more machines in my store.
MadBoy, on Sep 15 2006, 08:52 PM, said:
My company also used other project of mine. Installer of software. Worked preety nice, but also stopped developing due to diffrent company
do you have english version, it will be very helpful for my business, I will pay you
thanks,
This post has been edited by ty628659: 17 September 2006 - 02:17 AM
#109
Posted 17 September 2006 - 03:57 AM
discountpc: i'll try to find what's wrong. I thought i fixed it and it should work just fine. I'll take a look at it and report if it has the error or not
As for the detection of class of device.. well how would you see that going? At the point of hardware detection hardware id is just a bunch of numbers. Plug & Play compares them with .inf's file and if it matches, driver is installed, if it doesn't match system goes on to next .inf (at least i see it works that way, if not .. ;p) and that's why it takes so long. There's no database for that. Devcon can only say if some device is GRAPHIC, SOUND card if driver for those is already installed (that's why it's possible to implement removal of graphic card even with driver installed and then having it check for new driver for that card as someone requested). Only way it could be done, as i see it, is to have list of HARDWARE ID's inside the program that would say "This ID is graphic" and so on. I don't think keeping that database is possible. It would require lots of ppl work as new devices get rlsed every day. Having 4gb+ of drivers is a long process. As i see it CDROM/DVDROM is the slowest method to use. Fast USB 2.0 pendrive or maybe some small, fast hardrive in USB case would be best choice as it does 30mb/s with computer and doesn't have all disadvantages that CD/DVD has. That would be the fastest way (i always used it). Another way that could be implemented is LAN server but that would require LAN drivers integrated into win image (shouldn't take much place as net drivers are preety small), and a lot of additional work from my side
*EDIT*
Fixed the issue with CDROM/REMOVABLE. DiscountPc test please
This post has been edited by MadBoy: 17 September 2006 - 04:28 AM
#110
Posted 17 September 2006 - 10:39 AM
MadBoy, on Sep 17 2006, 05:57 AM, said:
Fixed the issue with CDROM/REMOVABLE. DiscountPc test please
(i'm off to my G-rents) bbl 2day for more testing...
This post has been edited by discountpc: 17 September 2006 - 10:42 AM



Help


Back to top








