MSFN Forum: Drivers Instalation in Post-Install stage (New Method) - MSFN Forum

Jump to content



  • 31 Pages +
  • « First
  • 27
  • 28
  • 29
  • 30
  • 31
  • You cannot start a new topic
  • You cannot reply to this topic

Drivers Instalation in Post-Install stage (New Method) Updated: 1.XII.2009 version 2.0.0.28 Rate Topic: -----

#551 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 21-February 05

Posted 05 November 2009 - 04:49 AM

Well of course i didn't forgot about your problem but you didn't responded to my mail on forum in which i've asked you to download the newest rls and set the debug mode (which is what you did now). Now that I've more information how stuff looks like i should be able to see what's wrong. Cheers :-)


#552 User is offline   Escorpiom 

  • Junior
  • Pip
  • Group: Members
  • Posts: 65
  • Joined: 18-January 09
  • OS:none specified
  • Country: Country Flag

Posted 05 November 2009 - 06:11 AM

Well, after testing for a while it still does not work the way it supposed to. Sorry :(
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)


This post has been edited by Escorpiom: 05 November 2009 - 06:18 AM


#553 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 21-February 05

Posted 05 November 2009 - 08:47 AM

Newest version can be found at projects website.

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 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 21-February 05

Posted 05 November 2009 - 08:58 AM

Escorpiom as for your error, this error isn't related to my program. It's related to your system having WMI corrupted or not installed correctly. Here's a link saying what you can do with it:
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 User is offline   Escorpiom 

  • Junior
  • Pip
  • Group: Members
  • Posts: 65
  • Joined: 18-January 09
  • OS:none specified
  • Country: Country Flag

Posted 06 November 2009 - 03:07 AM

View PostMadBoy, on Nov 5 2009, 09:58 AM, said:

Escorpiom as for your error, this error isn't related to my program. It's related to your system having WMI corrupted or not installed correctly. Here's a link saying what you can do with it:
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 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 21-February 05

Posted 06 November 2009 - 04:28 AM

Escorpiom please put me your config file (xml) so i can take a look.

#557 User is offline   jinkazama 

  • Member
  • PipPip
  • Group: Members
  • Posts: 147
  • Joined: 16-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 November 2009 - 05:11 AM

Hi madboy, can i use Driver pro-s from usb pen?
I get this error...
Posted Image

here my hardware config

Quote

<drivers>
<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 User is offline   Escorpiom 

  • Junior
  • Pip
  • Group: Members
  • Posts: 65
  • Joined: 18-January 09
  • OS:none specified
  • Country: Country Flag

Posted 06 November 2009 - 05:15 AM

Ok I have isolated the problem. First, got rid of the WMI error. Help and Support is now included in the source and the program starts fine. Yeah!

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. :yes:

Cheers,
Escorpiom.

Attached File(s)



#559 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 21-February 05

Posted 06 November 2009 - 05:49 AM

View Postjinkazama, on Nov 6 2009, 12:11 PM, said:

Hi madboy, can i use Driver pro-s from usb pen?
I get this error...
Posted Image

here my hardware config

Quote

<drivers>
<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 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 21-February 05

Posted 06 November 2009 - 06:02 AM

View PostEscorpiom, on Nov 6 2009, 12:15 PM, said:

Ok I have isolated the problem. First, got rid of the WMI error. Help and Support is now included in the source and the program starts fine. Yeah!

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. :yes:

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 User is offline   jinkazama 

  • Member
  • PipPip
  • Group: Members
  • Posts: 147
  • Joined: 16-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 November 2009 - 06:05 AM

View PostMadBoy, on Nov 6 2009, 12:49 PM, said:

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.

I have tried both solutions but always same error
i have all in a directory RELATIVE switch should point to Driver directory...
Posted Image

This post has been edited by jinkazama: 06 November 2009 - 06:05 AM


#562 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 21-February 05

Posted 06 November 2009 - 06:09 AM

View Postjinkazama, on Nov 6 2009, 01:05 PM, said:

View PostMadBoy, on Nov 6 2009, 12:49 PM, said:

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.

I have tried both solutions but always same error
i have all in a directory RELATIVE switch should point to Driver directory...
Posted Image


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 User is offline   jinkazama 

  • Member
  • PipPip
  • Group: Members
  • Posts: 147
  • Joined: 16-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 November 2009 - 06:16 AM

Here my icon, if you like it you can use for your software.
I've solved, thank you :)

Attached File(s)



#564 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 21-February 05

Posted 06 November 2009 - 07:48 AM

Quote

- 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?


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 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 21-February 05

Posted 06 November 2009 - 08:32 AM

Escorpiom i've just checked your logs further and it seems P&P won't work 100% for you anyway.

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 User is offline   Escorpiom 

  • Junior
  • Pip
  • Group: Members
  • Posts: 65
  • Joined: 18-January 09
  • OS:none specified
  • Country: Country Flag

Posted 06 November 2009 - 10:16 AM

Yep Madboy, that's right.
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 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 21-February 05

Posted 06 November 2009 - 10:34 AM

Manual way to disable searching for drivers on Windows update:

Quote

The required driver is missing when you are installing a device. Windows XP Prompts you to go online and search for the driver using Windows Updates. However, experience tell you that is absolutely useless and will only be adding to your hassle.

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 User is offline   Escorpiom 

  • Junior
  • Pip
  • Group: Members
  • Posts: 65
  • Joined: 18-January 09
  • OS:none specified
  • Country: Country Flag

Posted 06 November 2009 - 10:59 AM

Madboy, I made a reg entry for that in my reg tweaks file. It will be processed at T-12.

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 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 21-February 05

Posted 06 November 2009 - 11:15 AM

I would check if it works when you apply it in windows manually. If it does then it should work at T12.

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 User is offline   Escorpiom 

  • Junior
  • Pip
  • Group: Members
  • Posts: 65
  • Joined: 18-January 09
  • OS:none specified
  • Country: Country Flag

Posted 06 November 2009 - 02:44 PM

The most annoying ting in computers is the fact that something seemingly easy results to be the opposite - so with this reg fix.
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


Share this topic:


  • 31 Pages +
  • « First
  • 27
  • 28
  • 29
  • 30
  • 31
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy