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

Jump to content



  • 31 Pages +
  • « First
  • 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: -----

#601 User is offline   MadBoy 

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

Posted 07 October 2010 - 10:44 AM

View Postcdusseau, on 07 October 2010 - 09:16 AM, said:

I get stuck at the line:

[INFO] Disabling Window Managing Wizard

After it hits that it just sits there til the end of time...

Well nvm that was an easy fix...just disabled the wizard.

But now I'm getting stuck at:

No active plug & play process has been found after 5 seconds. Terminating,

Here's my config file:

<?xml version="1.0" encoding="utf-8"?>
<settings>
  <basic_configuration>
    <choice>Manual</choice>
    <window_managing>
        <hardware_wizard>
            <wizard_use>No</wizard_use>
            <wizard_title>Found New Hardware Wizard</wizard_title>
            <wizard_button_cancel>Cancel</wizard_button_cancel>
            <wizard_button_next>Next</wizard_button_next>
            <wizard_button_finish>Finish</wizard_button_finish>
        </hardware_wizard>
    </window_managing>
    <share_configuration>
        <use_mapping>Yes</use_mapping>
        <map_network_drive>    
            <drivers_share>
                <share_path>\\image-server\share\drivers</share_path>
                <domain_username></domain_username>
                <domain_password></domain_password>
            </drivers_share>
        </map_network_drive>
    </share_configuration>
    <drivers>
          <drivers_method>New</drivers_method>
          <drivers_database_use>Yes</drivers_database_use>
          <drivers_database_recreate>No</drivers_database_recreate>
          <drivers_database_path>$ProgramDir\hardware_database.db</drivers_database_path>
          <drivers_directory_path>z:\</drivers_directory_path>
          <drivers_packed>No</drivers_packed>
          <drivers_copy>No</drivers_copy>
          <drivers_copy_path>C:\Drivers</drivers_copy_path>
          <drivers_copy_delete>No</drivers_copy_delete>
          <options>
              <method>RegistryDevicePath</method>
              <registry_path>End</registry_path>
              <problem_ids>01,10,18,24,28,37,39</problem_ids>
              <update_all>No</update_all>
              <plug_and_play>
                    <option>Internal</option>
                    <time_to_wait>5</time_to_wait>
              </plug_and_play>
              <shutdown>
                    <auto_reboot_when_necessary>No</auto_reboot_when_necessary>
                    <auto_reboot_when_done>No</auto_reboot_when_done>
                    <auto_login>Yes</auto_login>
                    <notify_when_done>Yes</notify_when_done>
              </shutdown>
              <time_to_run>0</time_to_run>
              <force_run>Yes</force_run>
              <device_manager>Yes</device_manager>
          </options>
    </drivers>
    <log>
          <log_overwrite>No</log_overwrite>
          <log_to_file>Yes</log_to_file>
          <log_filename_path>$ProgramDir\hardware.log</log_filename_path>
          <log_option>Advanced</log_option>
    </log>
    <gui>
          <hide_legacy_devices>No</hide_legacy_devices>
          <fade_in_effect>No</fade_in_effect>
          <hide_views>No</hide_views>
    </gui>
  </basic_configuration>
</settings>


Basically I am trying to connect to a server that hosts the drivers for several systems. I don't want to copy the drivers locally (unless necessary). Anyone see where I am going wrong? Also, will the program always map the network drive as z:?


I see a couple of things you need to look out for:
1. You need to fill domain username and password:

<share_path>\\image-server\share\drivers</share_path>
<domain_username>SomeDomain\DriversAccount</domain_username>
<domain_password>NewPassw4343</domain_password>

2. When you set your drive mapped as drivers_share you need to use drivers_share as drive letter latter on.

<drivers_share>
<share_path>\\image-server\share\drivers</share_path>
<domain_username></domain_username>
<domain_password></domain_password>
</drivers_share>

So when you use mapped drive latter on use it like:
<drivers_directory_path>drivers_share:\</drivers_directory_path>
This will make sure program will find at what letter it mapped the drive and use it.
So to answer your other question about mapping drive to letter Z -> No, use variables, otherwise program may be confused.


#602 User is offline   cdusseau 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 30-September 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 07 October 2010 - 03:54 PM

I'm still getting stuck at:

No active plug & play process has been found after 5 seconds. Terminating,

#603 User is offline   MadBoy 

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

Posted 07 October 2010 - 04:31 PM

View Postcdusseau, on 07 October 2010 - 03:54 PM, said:

I'm still getting stuck at:

No active plug & play process has been found after 5 seconds. Terminating,


Do you have any devices without drivers (being in Device Manager marked as ? or with some error code?)?

#604 User is offline   cdusseau 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 30-September 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 07 October 2010 - 06:41 PM

Yessir I do.

#605 User is offline   cdusseau 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 30-September 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 20 October 2010 - 09:48 AM

Well I tried using driverpacks with this and now I'm producing this Autoit error:

Posted Image

This only seems to happen when I try to prepare a database.

If I skip database creation I get this error instead:

Posted Image

Using this config file:

<?xml version="1.0" encoding="utf-8"?>
<settings>
  <basic_configuration>
    <choice>Manual</choice>
    <window_managing>
        <hardware_wizard>
            <wizard_use>Yes</wizard_use>
            <wizard_title>Found New Hardware Wizard</wizard_title>
            <wizard_button_cancel>Cancel</wizard_button_cancel>
            <wizard_button_next>Next</wizard_button_next>
            <wizard_button_finish>Finish</wizard_button_finish>
        </hardware_wizard>
    </window_managing>
    <share_configuration>
        <use_mapping>No</use_mapping>
        <map_network_drive>    
            <drive_1>
                <share_path>\\image-server\share\drivers\DriverPacks</share_path>
                <domain_username></domain_username>
                <domain_password></domain_password>
            </drive_1>
        </map_network_drive>
    </share_configuration>
    <drivers>
          <drivers_method>New</drivers_method>
          <drivers_database_use>Yes</drivers_database_use>
          <drivers_database_recreate>No</drivers_database_recreate>
          <drivers_database_path>$ProgramDir\hardware_database.db</drivers_database_path>
          <drivers_directory_path>RELATIVE:\DriverPacks\DriverPacks</drivers_directory_path>
          <drivers_packed>No</drivers_packed>
          <drivers_copy>No</drivers_copy>
          <drivers_copy_path>C:\Drivers</drivers_copy_path>
          <drivers_copy_delete>No</drivers_copy_delete>
          <options>
              <method>RegistryDevicePath</method>
              <registry_path>None</registry_path>
              <problem_ids>01,10,18,24,28,37,39</problem_ids>
              <update_all>Yes</update_all>
              <plug_and_play>
                    <option>Internal</option>
                    <time_to_wait>5</time_to_wait>
              </plug_and_play>
              <shutdown>
                    <auto_reboot_when_necessary>No</auto_reboot_when_necessary>
                    <auto_reboot_when_done>No</auto_reboot_when_done>
                    <auto_login>Yes</auto_login>
                    <notify_when_done>Yes</notify_when_done>
              </shutdown>
              <time_to_run>0</time_to_run>
              <force_run>Yes</force_run>
              <device_manager>Yes</device_manager>
          </options>
    </drivers>
    <log>
          <log_overwrite>No</log_overwrite>
          <log_to_file>Yes</log_to_file>
          <log_filename_path>$ProgramDir\hardware.log</log_filename_path>
          <log_option>Advanced</log_option>
    </log>
    <gui>
          <hide_legacy_devices>No</hide_legacy_devices>
          <fade_in_effect>No</fade_in_effect>
          <hide_views>No</hide_views>
    </gui>
  </basic_configuration>
</settings>


This is making the program pretty much useless to me. I know you have other priorities but any chance you know whats going on?

#606 User is offline   MadBoy 

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

Posted 20 October 2010 - 10:17 AM

Hello. The first error is probably some misuse in code, but even if i fix it you will get the 2nd error.

The error is related to INI Read (_IniReadSection) and is related to code not written by me. I've reported error on author's thread but seems he doesn't care (http://www.autoitscr...showtopic=32004). The builtin IniReadSection has a limit which makes it unusable.

There are 3 choices:
1) Author fix it and for me it's simple fix
2) I try to fix it in his code and i don't know what's going on there so it will take me ages to do so :-)
3) I write my own approach to read the .inf files instead of using _IniReadSection.

I would prefer 1st option, as 2nd and 3rd considering a lot of projects i am thrown at I can't quick fix.

Hope you understand that. Sorry

#607 User is offline   cdusseau 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 30-September 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 20 October 2010 - 10:46 AM

Well if you do get around to fixing it I'd appreciate it. If not, I understand. I'm looking into some alternatives on the driverpacks forum.

#608 User is offline   recon 

  • Group: Members
  • Posts: 2
  • Joined: 29-October 10
  • OS:none specified
  • Country: Country Flag

Posted 30 October 2010 - 12:37 PM

Hi all,

I'm trying to get this tool working on my laptop, which is a dell latitude d620.
If everything is working ok i'm planning to use this tool to install drivers when deploying images.

For my test machine, i've downloaded every driver from the dell site and unpacked the exe's.
After that i changed some settings in hardware_config.xml like the driver path.

Now i've started pro hardware installer.
The first driver it installed was the VGA driver, but after that the tool was just sitting there and doing nothing...
After 10 minutes of waiting i stopped the program.

I have included my xml file and a screenshot.
What am i doing wrong?

Thanks :-)

<?xml version="1.0" encoding="utf-8"?>
<settings>
  <basic_configuration>
    <choice>Automatic</choice>
    <window_managing>
        <hardware_wizard>
            <wizard_use>Yes</wizard_use>
            <wizard_title>Found New Hardware Wizard</wizard_title>
            <wizard_button_cancel>Cancel</wizard_button_cancel>
            <wizard_button_next>Next</wizard_button_next>
            <wizard_button_finish>Finish</wizard_button_finish>
        </hardware_wizard>
    </window_managing>
    <share_configuration>
        <use_mapping>No</use_mapping>
        <map_network_drive>    
            <drive_1>
                <share_path>\\127.0.0.1\c$</share_path>
                <domain_username>EM\MadBoy</domain_username>
                <domain_password>SuperPass</domain_password>
            </drive_1>
        </map_network_drive>
    </share_configuration>
    <drivers>
          <drivers_method>New</drivers_method>
          <drivers_database_use>No</drivers_database_use>
          <drivers_database_recreate>No</drivers_database_recreate>
          <drivers_database_path>D:\Drivers\hardware_database.db</drivers_database_path>
          <drivers_directory_path>D:\Drivers</drivers_directory_path>
          <drivers_packed>No</drivers_packed>
          <drivers_copy>No</drivers_copy>
          <drivers_copy_path>C:\Drivers</drivers_copy_path>
          <drivers_copy_delete>No</drivers_copy_delete>
          <options>
              <method>RegistryDevicePath</method>
              <registry_path>Begin</registry_path>
              <problem_ids>01,10,18,24,28,37,39</problem_ids>
              <update_all>Yes</update_all>
              <plug_and_play>
                    <option>Internal</option>
                    <time_to_wait>5</time_to_wait>
              </plug_and_play>
              <shutdown>
                    <auto_reboot_when_necessary>No</auto_reboot_when_necessary>
                    <auto_reboot_when_done>No</auto_reboot_when_done>
                    <auto_login>Yes</auto_login>
                    <notify_when_done>Yes</notify_when_done>
              </shutdown>
              <time_to_run>0</time_to_run>
              <force_run>Yes</force_run>
              <device_manager>Yes</device_manager>
          </options>
    </drivers>
    <log>
          <log_overwrite>Yes</log_overwrite>
          <log_to_file>Yes</log_to_file>
          <log_filename_path>$ProgramDir\hardware.log</log_filename_path>
          <log_option>Simple</log_option>
    </log>
    <gui>
          <hide_legacy_devices>No</hide_legacy_devices>
          <fade_in_effect>No</fade_in_effect>
          <hide_views>No</hide_views>
    </gui>
  </basic_configuration>
</settings>

Attached File(s)



#609 User is offline   MadBoy 

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

Posted 30 October 2010 - 03:01 PM

Everything seems correct. Program found 5 of 6 inf files for your devices, removed 6 HW devices.

[20:11:08] - Unknown devices were removed successfully.
[20:11:08] - [INFO] Enabling Window Managing Wizard
[20:11:08] - Forcing system to detect Plug & Play Devices.
[20:11:10] - System is now detecting and installing drivers for your hardware. Please wait!

Only thing that could go wrong is Detecting and installing drivers. Can you try when it's stuck at that stage to go to device manager and click Scan for hardware changes. If detection starts and works that means something went wrong at that stage.

#610 User is offline   recon 

  • Group: Members
  • Posts: 2
  • Joined: 29-October 10
  • OS:none specified
  • Country: Country Flag

Posted 31 October 2010 - 06:50 AM

View PostMadBoy, on 30 October 2010 - 03:01 PM, said:

Everything seems correct. Program found 5 of 6 inf files for your devices, removed 6 HW devices.

[20:11:08] - Unknown devices were removed successfully.
[20:11:08] - [INFO] Enabling Window Managing Wizard
[20:11:08] - Forcing system to detect Plug & Play Devices.
[20:11:10] - System is now detecting and installing drivers for your hardware. Please wait!

Only thing that could go wrong is Detecting and installing drivers. Can you try when it's stuck at that stage to go to device manager and click Scan for hardware changes. If detection starts and works that means something went wrong at that stage.


When doing a scan for hardware changes it refreshes the device manager list, but nothing happens after that.
What i've noticed is. It first starts with the VGA card, but when it found a driver it says Mobile Intel.... expres chipset.
Also when i look under Display adapters it has one device named Mobile Intel 945GM express chipset familiy, i think this is wrong because there is still a video controller in the other devices list.

Also when it has installed this driver a device with a strange name appears in the other devices list... -> JW804/7?... you can see it on the screenshot.

Attached File(s)



#611 User is offline   MadBoy 

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

Posted 31 October 2010 - 09:39 AM

View Postrecon, on 31 October 2010 - 06:50 AM, said:

View PostMadBoy, on 30 October 2010 - 03:01 PM, said:

Everything seems correct. Program found 5 of 6 inf files for your devices, removed 6 HW devices.

[20:11:08] - Unknown devices were removed successfully.
[20:11:08] - [INFO] Enabling Window Managing Wizard
[20:11:08] - Forcing system to detect Plug & Play Devices.
[20:11:10] - System is now detecting and installing drivers for your hardware. Please wait!

Only thing that could go wrong is Detecting and installing drivers. Can you try when it's stuck at that stage to go to device manager and click Scan for hardware changes. If detection starts and works that means something went wrong at that stage.


When doing a scan for hardware changes it refreshes the device manager list, but nothing happens after that.
What i've noticed is. It first starts with the VGA card, but when it found a driver it says Mobile Intel.... expres chipset.
Also when i look under Display adapters it has one device named Mobile Intel 945GM express chipset familiy, i think this is wrong because there is still a video controller in the other devices list.

Also when it has installed this driver a device with a strange name appears in the other devices list... -> JW804/7?... you can see it on the screenshot.

You must understand what my program does. It scans your system for missing devices (HWID) then searches for that HWID inside .inf files you pointed it to and adds that to registry. Then it makes Device Manager to refresh the list of devices and windows is forced to find drivers on his own (with paths given to it thru registry). It should find and install missing devices.

It's all it does. No magic :-) What you noticed in right corner is that Windows is finding devices like your mobile intel 945GM and uses drivers that you pointed it to.

However if somethings don't install properly means the drivers aren't properly prepared (inf alone might be there but other stuff may not).

Share this topic:


  • 31 Pages +
  • « First
  • 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