Drivers Instalation in Post-Install stage (New Method) Updated: 1.XII.2009 version 2.0.0.28
#551
Posted 05 November 2009 - 04:49 AM
#552
Posted 05 November 2009 - 06:11 AM
The problem is the window managing wizard. And some strange COM DOM error, I'll put the image and log with this message.
As for the window managing wizard, it still asks me for confirmation, I have to click the buttons.
Perhaps the problem is the "connect to internet" prompt, can it be?
I tried two times, first time copying the drivers to a local disk, and the second time from the share.
Sure it has to be something with the Spanish version. Someone else tried it on a non-English Windows XP?
EDIT: Nevermind, I see that the Dutch version has the same problem. Hope Madboy finds the solution!
Cheers,
Escorpiom.
Attached File(s)
-
Error.JPG (64.62K)
Number of downloads: 16 -
hardware.txt (7.27K)
Number of downloads: 2
This post has been edited by Escorpiom: 05 November 2009 - 06:18 AM
#553
Posted 05 November 2009 - 08:47 AM
Version 2.0.0.25 (public)
- Fixed hardware wizard (one script breaking change in AutoIt which I've not addressed when updating to newest beta)
Enjoy and report bugs as always (preferably with log file in debug mode, and with XML attached).
MadBoy
This post has been edited by MadBoy: 05 November 2009 - 03:01 PM
#554
Posted 05 November 2009 - 08:58 AM
http://www.computerperformance.co.uk/Logon...de_80041013.htm
But it's also possible that you've used nlite or other tool to produce your image and you've excluded important features. Help and Support service or similar, one that looks not important but is important for WMI (I don't remember now which one). Hope it helps and you can find your way ;-)
#555
Posted 06 November 2009 - 03:07 AM
MadBoy, on Nov 5 2009, 09:58 AM, said:
http://www.computerperformance.co.uk/Logon...de_80041013.htm
But it's also possible that you've used nlite or other tool to produce your image and you've excluded important features. Help and Support service or similar, one that looks not important but is important for WMI (I don't remember now which one). Hope it helps and you can find your way ;-)
Spot on, Madboy. You just forced me to do another Nlited WinXP but this time I left Help and Support in it. Removed only MSN Explorer, Windows Messenger, The Annoying Search Dog, Security Center and System restore.
Tried to repair WMI in a thousand ways - nothing helped. The Microsoft vbs tool threw some errors and it is definitely not possible to repair them, even re-installing the help and support stuff didn't help. Microsoft states that a complete reinstall is needed. So far for the WMI errors.
I did try the new version, still no show. Don't know if it is because of the screwed up WMI, but the hardware database is not created, drivers are not installed and the windows are popping up and the program keeps looping. Have to shut down the hardware wizard and then the program stops: "User canceled hardware wizard" or similar.
Will try with the new installation and see how it goes.
Cheers,
Escorpiom.
This post has been edited by Escorpiom: 06 November 2009 - 03:09 AM
#556
Posted 06 November 2009 - 04:28 AM
#557
Posted 06 November 2009 - 05:11 AM
I get this error...

here my hardware config
Quote
<drivers_method>New</drivers_method>
<drivers_database_use>No</drivers_database_use>
<drivers_database_recreate>No</drivers_database_recreate>
<drivers_database_path>$ProgramDir\hardware_database.db</drivers_database_path>
<drivers_directory_path>RELATIVE:\Drivers</drivers_directory_path>
<drivers_packed>No</drivers_packed>
<drivers_copy>No</drivers_copy>
<drivers_copy_path>C:\DriversTest</drivers_copy_path>
<drivers_copy_delete>No</drivers_copy_delete>
- <options>
Thank you
#558
Posted 06 November 2009 - 05:15 AM
There are two issues pending:
- The buttons don't get pressed at the PnP stage because of the internet driver update prompt. The log (debug mode) shows it. The ONLY button that is auto-pressed is Finalizar (Finalize). Note: this is a Spanish Windows XP.
- Updating drivers runs, but does not update. I have in fact updated drivers for Via Rhine Ethernet card but it does not install. The same happens with C-Media Sound.
I found the following: If the .inf has some hardware ID without "&subsys" string it does not install. I had to edit the .inf and add the subsys string, after that it was picked up by the program.
Example:
VEN_1106&DEV_3108
Does not install driver.
VEN_1106&DEV_3108&SUBSYS_31081414 installs fine.
The program should not look at the subsys. Let Windows figure it out. Or else, I would have to edit some of my .infs?
I will add the log (had to zip it, was very large) and xml file so you can have a look. We are nearly there. If you succeed, I will worship you forever.
Cheers,
Escorpiom.
Attached File(s)
-
hardware_config.xml (2.71K)
Number of downloads: 4 -
hardware.zip (8.43K)
Number of downloads: 1
#559
Posted 06 November 2009 - 05:49 AM
jinkazama, on Nov 6 2009, 12:11 PM, said:
I get this error...

here my hardware config
Quote
<drivers_method>New</drivers_method>
<drivers_database_use>No</drivers_database_use>
<drivers_database_recreate>No</drivers_database_recreate>
<drivers_database_path>$ProgramDir\hardware_database.db</drivers_database_path>
<drivers_directory_path>RELATIVE:\Drivers</drivers_directory_path>
<drivers_packed>No</drivers_packed>
<drivers_copy>No</drivers_copy>
<drivers_copy_path>C:\DriversTest</drivers_copy_path>
<drivers_copy_delete>No</drivers_copy_delete>
- <options>
Thank you
You can. You have to either use RELATIVE:\Drivers where RELATIVE means that program resides on the same drive that Drivers directory is. Or you can use REMOVABLE:\Drivers which should point to usb pendrive in drivers_directory_path.
#560
Posted 06 November 2009 - 06:02 AM
Escorpiom, on Nov 6 2009, 12:15 PM, said:
There are two issues pending:
- The buttons don't get pressed at the PnP stage because of the internet driver update prompt. The log (debug mode) shows it. The ONLY button that is auto-pressed is Finalizar (Finalize). Note: this is a Spanish Windows XP.
- Updating drivers runs, but does not update. I have in fact updated drivers for Via Rhine Ethernet card but it does not install. The same happens with C-Media Sound.
I found the following: If the .inf has some hardware ID without "&subsys" string it does not install. I had to edit the .inf and add the subsys string, after that it was picked up by the program.
Example:
VEN_1106&DEV_3108
Does not install driver.
VEN_1106&DEV_3108&SUBSYS_31081414 installs fine.
The program should not look at the subsys. Let Windows figure it out. Or else, I would have to edit some of my .infs?
I will add the log (had to zip it, was very large) and xml file so you can have a look. We are nearly there. If you succeed, I will worship you forever.
Cheers,
Escorpiom.
Please try the newest version 2.0.0.26. It's in the projects directory. Hardware wizard is fine. The problem is that within different languages there are different chars underlined.
For example Finalize has probably letter F underlined like Finalize, but for words Next etc it may have e, x or t underlined. Then such word becomes N&ext if e is underlined or Ne&xt if x is underlined. For Finalize the word looks like &Finalize so there's no problem as partial matching works. Anyways to cut the problems with having to type & at correct place or to include it at all I've fixed so that & is stripped from the button text when doing matching so hardware wizard should work now fine without any additional change from your side.
For your other problem I'll have to look deeper. Will post again soon ;-)
#561
Posted 06 November 2009 - 06:05 AM
MadBoy, on Nov 6 2009, 12:49 PM, said:
I have tried both solutions but always same error
i have all in a directory RELATIVE switch should point to Driver directory...
This post has been edited by jinkazama: 06 November 2009 - 06:05 AM
#562
Posted 06 November 2009 - 06:09 AM
jinkazama, on Nov 6 2009, 01:05 PM, said:
MadBoy, on Nov 6 2009, 12:49 PM, said:
I have tried both solutions but always same error
i have all in a directory RELATIVE switch should point to Driver directory...

It's incorrect. RELATIVE means it's only RELATIVE disk drive letter so what program is looking at when you have RELATIVE:\Drivers is M:\Drivers. Since you've put it in M:\Driver PRO-S the correct path in .xml is RELATIVE:\Driver PRO-S\Drivers or REMOVABLE:\Driver PRO-S\Drivers.
Btw. I've noticed you have some icon next to it (diffrent icon). May i ask why? :-) Also it seems like nice Icon. Maybe you want to share. If it looks good here I could replace the standard one I am using :-)
#563
Posted 06 November 2009 - 06:16 AM
I've solved, thank you
Attached File(s)
-
pro_s_hardware_installer_2.0.0.25.ico (26.07K)
Number of downloads: 8
#564
Posted 06 November 2009 - 07:48 AM
Quote
I found the following: If the .inf has some hardware ID without "&subsys" string it does not install. I had to edit the .inf and add the subsys string, after that it was picked up by the program.
Example:
VEN_1106&DEV_3108
Does not install driver.
VEN_1106&DEV_3108&SUBSYS_31081414 installs fine.
The program should not look at the subsys. Let Windows figure it out. Or else, I would have to edit some of my .infs?
By updating drivers you mean Update All xml entry ? If yes then it doesn't work for simple reason. By using new way of finding drivers it searches for only those devices that have error codes. So if 3 devices have errors, 3 .inf's will get added to registry. I'll think how to make it work better. Probably will have to list all hwids from all devices added to system and then compare that with db and then add that entries to registry. I'll add it to ToDo list.
If it's some other problem you have lemme know and I should investigate.
#565
Posted 06 November 2009 - 08:32 AM
This is because of first window having:
[05:17:27] - [WINDOW] DEBUG: Button count:8
[05:17:27] - [WINDOW] DEBUG: Button 1 button_class_nn:[CLASSNN:Button1]
[05:17:27] - [WINDOW] DEBUG: Button 1 button_text:&Sí, sólo esta vez
[05:17:27] - [WINDOW] DEBUG: Button 2 button_class_nn:[CLASSNN:Button2]
[05:17:27] - [WINDOW] DEBUG: Button 2 button_text:Sí, a&hora y cada vez que conecte un dispositivo
[05:17:27] - [WINDOW] DEBUG: Button 3 button_class_nn:[CLASSNN:Button3]
[05:17:27] - [WINDOW] DEBUG: Button 3 button_text:&No por el momento
[05:17:27] - [WINDOW] DEBUG: Button 7 button_class_nn:[CLASSNN:Button7]
[05:17:27] - [WINDOW] DEBUG: Button 7 button_text:Cancelar
which translates to something like check on internet .. i guess to go further you have to pres No por el momento ? or what do you press here ?
#566
Posted 06 November 2009 - 10:16 AM
First pops the Internet update wizard, it does that because the system is already connected to the net at that stage.
So first I check the option "No por el momento" and press the button "Siguiente" if I remember correctly.
Then, another option presents itself: Instalar automáticamente el software (recomendado)
Or
Instalar desde una lista o ubicación específica
I select Automaticamente and yes, finally the driver is installed.
There is a registry patch to disable the Internet driver update prompt. I searched for it but only Nlite seems to have that option. My last build does not have that activated.
Would like to get rid of that darn Internet update prompt. Never use that anyway. You might have some tips?
Cheers,
Escorpiom.
#567
Posted 06 November 2009 - 10:34 AM
Quote
Usually a driver is included on a CD provided with the device you have purchased. If this is not the case for some reason, you can always download the software from the device manufacturer's website. Why not disable the unnecessary request to search for drivers when you can install them much faster yourself.
The Go to : "Start > Run" and type "gpedit.msc"(without quotes) and navigate to:
Local Computer Policy > Computer Configuration > Administrative Templates > System
Section on the left pane of the window. Now choose and double click on "Turn off Windows Update device driver search prompt". In the window that appears, chosse "Disable" and apply the settings.
Registry way (can be automated, most likely this will end up in tool as option): http://www.pctools.c...ry/detail/1217/
This post has been edited by MadBoy: 06 November 2009 - 10:36 AM
#568
Posted 06 November 2009 - 10:59 AM
SET KEY=HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer REG ADD "%KEY% /V NoDevMgrUpdate /T REG_DWORD /D 00000001 /F
Will this work to disable the Internet update prompt?
Found the group policy entry also, but manual disabling is not an option I'm afraid.
Cheers,
Escorpiom.
#569
Posted 06 November 2009 - 11:15 AM
See if this helps:
Go to Start menu, right-click on Computers and click Properties. On the left sidebar of the System dialog box, select Advanced System Settings. Now navigate to Hardware tab and click Windows Update Driver Settings. Not sure if this exists on Win Xp as i use 7 for now. Lemme know if it's there. If the switch is there try playing with applying the setting in reg.
Seems like vista http://malektips.com...ice-driver.html but might be in XP too, can't find it in 7.
This post has been edited by MadBoy: 06 November 2009 - 11:17 AM
#570
Posted 06 November 2009 - 02:44 PM
Disabling the windows driver update by Internet is controled by group policy. The reg fix I made has no effect whatsoever.
I did the trick with the hardware tab (yes it is there on XP but slightly different) and the changes made there were put in the registry under group policy.
I cannot export the key, as it is under a special random key, different for each system/user.
Pretty nasty. So far no solution found.
EDIT: Found the correct keys. These are the reg entries.
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\DriverSearching /v DontSearchWindowsUpdate /t REG_DWORD /d 1 /f REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\DriverSearching /v DontPromptForWindowsUpdate /t REG_DWORD /d 1 /f REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\DriverSearching /v DontSearchCD /t REG_DWORD /d 1 /f REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\DriverSearching /v DontSearchFloppies /t REG_DWORD /d 1 /f
The Internet update wizard died today. Yeah!
Cheers,
Escorpiom.
This post has been edited by Escorpiom: 06 November 2009 - 02:59 PM



Help


Back to top









