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

Jump to content


  • 31 Pages +
  • « First
  • 26
  • 27
  • 28
  • 29
  • 30
  • Last »
  • 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: -----

#541 User is offline   pSycho-Y2K 

  • Newbie
  • Group: Members
  • Posts: 44
  • Joined: 20-October 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 19 October 2009 - 05:13 AM

Great job for fixing the problem! :thumbup
But, while this problem is solved, another one just pops up :blink:
The hardware-window buttons doesn't get pressed anymore, see the attached screenshot.

As requested: my current driver folder (which resides on a USB HDD which I always use for fresh installations) contains the following from DriverPacks.net (mostly 3rd party and beta):

DP_Bluetooth_wnt5_x86-32_081028
DP_Chipset_wnt5_x86-32_909r4
DP_CPU_wnt5_x86-32_9090rc1
DP_Graphics_A_PhysX_wnt5_x86-32_908
DP_Graphics_A_wnt5_x86-32_9090rc2
DP_Graphics_B_wnt5_x86-32_910rc1
DP_Graphics_C_wnt5_x86-32_910rc1
DP_HID_wnt5_x86-32_90813
DP_Input_wnt5_x86-32_070923
DP_LAN_wnt5_x86-32_90904
DP_LCD_wnt5_x86-32_810
DP_MassStorage_wnt5_x86-32_909r6
DP_Misc_wnt5_x86-32_90909
DP_Modem_wnt5_x86-32_90831
DP_Monitor_wnt5_x86-32_908130
DP_Phone_wnt5_x86-32_80207
DP_SmartCardReader_wnt5_x86-32_80228
DP_Sound_A_wnt5_x86-32_90902
DP_Sound_B_wnt5_x86-32_90903
DP_TV_wnt5_x86-32_90915
DP_USB_wnt5_x86-32_80911
DP_Virtual_wnt5_x86-32_90225
DP_WebCam_wnt5_x86-32_90904
DP_WLAN_wnt5_x86-32_90807

Attached File(s)


This post has been edited by pSycho-Y2K: 19 October 2009 - 05:15 AM



#542 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 467
  • Joined: 21-February 05
  • OS:none specified
  • Country: Country Flag

Posted 19 October 2009 - 05:18 AM

Can you put <log_option>debug</log_option> and send me the log file?

MadBoy

#543 User is offline   pSycho-Y2K 

  • Newbie
  • Group: Members
  • Posts: 44
  • Joined: 20-October 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 19 October 2009 - 08:47 AM

There ya go :) You can see in the log that I had to close the window manually (it appeared 2 times).

Attached File(s)


This post has been edited by pSycho-Y2K: 19 October 2009 - 08:49 AM


#544 User is offline   pSycho-Y2K 

  • Newbie
  • Group: Members
  • Posts: 44
  • Joined: 20-October 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 October 2009 - 07:55 AM

Any progress on this problem? :)

#545 User is offline   Escorpiom 

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

Posted 29 October 2009 - 02:57 AM

Well, I have to report that this totally does not work on Spanish Windows XP.
Database is not created, program set in automatic mode but I still have to click every darn hardware wizard.
Besides that, drivers are not installed at all, even though they are available in the specified path.
Second run of the program and the error devices are not detected anymore, but they are still present in device manager.
It could be a fantastic utility but this one needs some work.
Thanks anyway.

Cheers
Escorpiom.

This post has been edited by Escorpiom: 29 October 2009 - 02:58 AM


#546 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 467
  • Joined: 21-February 05
  • OS:none specified
  • Country: Country Flag

Posted 29 October 2009 - 03:15 AM

View PostEscorpiom, on Oct 29 2009, 10:57 AM, said:

Well, I have to report that this totally does not work on Spanish Windows XP.
Database is not created, program set in automatic mode but I still have to click every darn hardware wizard.
Besides that, drivers are not installed at all, even though they are available in the specified path.
Second run of the program and the error devices are not detected anymore, but they are still present in device manager.
It could be a fantastic utility but this one needs some work.
Thanks anyway.

Cheers
Escorpiom.


Well I do hope you have logging enabled. Send me the log file, send me the config file. Also set the program in debug mode and run it again Go to http://pro-solutions.pl/projects/ and get newest version (nothing fixed) just with more debug output for Hardware wizard. As for having no error devices in second run it could be due to not finished process of redetcting devices. You can reboot or go to device manager and press F5 or refresh. This should get them to state to what they were before in program.

MadBoy

#547 User is offline   jinkazama 

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

Posted 29 October 2009 - 10:09 AM

Thank you MadBoy ;)

#548 User is offline   Escorpiom 

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

Posted 29 October 2009 - 03:35 PM

Ok, think I've got it going now. Does work on Spanish Windows XP :yes:

There is something easily overlooked. When there is no hardware database file, the program won't make one in automatic mode.
In manual mode, when there is no hardware db file, the program ask for the correct path.
To get it going I did the folowing:

Put a copy of Pro-S on the server share were my drivers are (lots!) and execute it on the server in manual mode.
Let the program create the hardware database file ("action" menu) and after that exit.
Now we have a valid hardware .db on the server.
In my unattended XP install include a copy of Pro-S and the xml config file.
After the XP install finishes, Pro-s is executed from GuiRunOnce.
As I have most common network drivers integrated, the very first thing is mapping a network drive X.
The xml config file is pointing to the hardware db on the share, this is a valid path and so Pro-s uses the db.

To be sure I downloaded the latest version. It ran all the way and did not ask me once to install some device.
The whole process took only a few minutes and if correctly setup, this will save a lot of time.

It would be a better solution to let the program create the .db file (in automatic mode) if not found.
For now we will have to create one first.

Cheers and thanks for sharing your proyect.
Escorpiom.

#549 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 467
  • Joined: 21-February 05
  • OS:none specified
  • Country: Country Flag

Posted 30 October 2009 - 04:02 AM

View PostEscorpiom, on Oct 29 2009, 11:35 PM, said:

Ok, think I've got it going now. Does work on Spanish Windows XP :yes:

There is something easily overlooked. When there is no hardware database file, the program won't make one in automatic mode.
In manual mode, when there is no hardware db file, the program ask for the correct path.
To get it going I did the folowing:

Put a copy of Pro-S on the server share were my drivers are (lots!) and execute it on the server in manual mode.
Let the program create the hardware database file ("action" menu) and after that exit.
Now we have a valid hardware .db on the server.
In my unattended XP install include a copy of Pro-S and the xml config file.
After the XP install finishes, Pro-s is executed from GuiRunOnce.
As I have most common network drivers integrated, the very first thing is mapping a network drive X.
The xml config file is pointing to the hardware db on the share, this is a valid path and so Pro-s uses the db.

To be sure I downloaded the latest version. It ran all the way and did not ask me once to install some device.
The whole process took only a few minutes and if correctly setup, this will save a lot of time.

It would be a better solution to let the program create the .db file (in automatic mode) if not found.
For now we will have to create one first.

Cheers and thanks for sharing your protect.
Escorpiom.


It's good that you managed to figure it out. Actually after your first post I've looked at the code (trying to see what your problem might be) and found out that the db isn't created when it's first time started.
So now(from 2.0.0.24) if the db is not found (file doesn't exist) when the program is run (either manual or auto mode) program will ask if you want to create it. Hope it will be more user friendly now :-) Perhaps I (or someone) should make nice .chm documentation / tutorials for different scenarios :-) Maybe I'll make one some day!

Version 2.0.0.23 (non-public)
- Added more debugging lines in Hardware Wizard
Version 2.0.0.24 (public)
- Changed behavior for first time start of program for drivers database (or when drivers db doesn't exists) should be a bit more user friendly now
- Removed Loading screen (was too ugly) ;)

Enjoy and report bugs as always (preferably with log file in debug mode, and with XML attached).

Download: Pro-S Hardware Installer 2.0.0.24

MadBoy

#550 User is offline   pSycho-Y2K 

  • Newbie
  • Group: Members
  • Posts: 44
  • Joined: 20-October 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 04 November 2009 - 04:36 AM

View PostpSycho-Y2K, on Oct 19 2009, 12:13 PM, said:

Great job for fixing the problem! :thumbup
But, while this problem is solved, another one just pops up :blink:
The hardware-window buttons doesn't get pressed anymore, see the attached screenshot.

MadBoy, forgot my problem? It is still unsolved in your latest release. :(
I attached the XML and logfile. See the screenshot which I posted earlier, which is basically the same.

Attached File(s)


This post has been edited by pSycho-Y2K: 04 November 2009 - 04:37 AM


#551 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 467
  • Joined: 21-February 05
  • OS:none specified
  • Country: Country Flag

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: 82
  • 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: 467
  • Joined: 21-February 05
  • OS:none specified
  • Country: Country Flag

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: 467
  • Joined: 21-February 05
  • OS:none specified
  • Country: Country Flag

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: 82
  • 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: 467
  • Joined: 21-February 05
  • OS:none specified
  • Country: Country Flag

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: 196
  • Joined: 16-November 03
  • OS:Windows 8 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: 82
  • 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: 467
  • Joined: 21-February 05
  • OS:none specified
  • Country: Country Flag

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: 467
  • Joined: 21-February 05
  • OS:none specified
  • Country: Country Flag

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 ;-)

Share this topic:


  • 31 Pages +
  • « First
  • 26
  • 27
  • 28
  • 29
  • 30
  • Last »
  • 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 - 2013 msfn.org
Privacy Policy