Jump to content

MadBoy

Member
  • Posts

    470
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Poland

Posts posted by MadBoy

  1. I decided to try this out. I extracted my audio drivers, point pro-s hardware at the main directory, and let it do its thing. It worked! Everything installed fine.

    Then I tried extracting the rest of the driver pack. 9 full gigs of drivers. I tell it to install all drivers, then while trying to build its database I get this error:

    Line 2550 (File "H:\Mobile PC Repair\Windows 7 Drivers\pro-s_hardware_installer_2.0.0.28.exe"):

    Error: Subscript used with non-Array variable.

    Once I hit OK the program crashes completely. Any ideas on how to fix this?

    To be honest I've not touch the code since 3+ years now. I am aware of the problem and I'll try to update the code to fix this issue since I see that the author of one library that was causing this updated his code. Not sure if it will be this week thou. I haven't coded in AutoIt for over few years.

  2. 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).

  3. 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.

  4. 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.autoitscript.com/forum/index.php?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

  5. 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.

  6. I tried reproducing your problems and I couldn't. I downloaded like 15 driver packs and db created clearly without problems. Would it be possible that you (psycho or xecutor) to create me some 7zip file of your drivers db and put somewhere to download (can be big) or maybe try to isolate a problem to specific driver, amount of drivers?

    Edit: I found the problem, it's in one of external libs i use. Will try to fix, ask to get it fixed.

    I use all drivers for Windows XP from DriverPacks.net. I download all de 7zips and extract them all in a single folder called Drivers which is located of the root of my USB-Harddrive (Z:\Drivers).

    P.S. Any progress on this MadBoy? :)

    Unfortunately no. I've reported error with this but nobody cares :-) I had couple of findings by fixing inf files by hand but it's a lot of work. Have to find some other way around it and it's hard with time I have now :-) Plus there's not much motivation left in this case. XP is fading away so I would need to support Windows 7 and that's a lot of work. I am focused on things that get me money right now but have hopes. Maybe I'll get some time to fix it.

  7. I tried reproducing your problems and I couldn't. I downloaded like 15 driver packs and db created clearly without problems. Would it be possible that you (psycho or xecutor) to create me some 7zip file of your drivers db and put somewhere to download (can be big) or maybe try to isolate a problem to specific driver, amount of drivers?

    Edit: I found the problem, it's in one of external libs i use. Will try to fix, ask to get it fixed.

  8. Hello,

    This is my first post on MSFN. I use Windriver Ghost to backup drivers before formatting computers that been effected by virus.

    I want to know that is there any way to backup drivers from a dead windows computer? From dead windows computer I can copy My Documents or any other

    folders by using Win-PE/Bart-PE. By using Win-PE/Bart-PE is it also possible to backup drivers?

    I do computer maintenance / service and I visit many clients who lost their Mother Board Driver CD / DVD and also they do not have internet connection.

    So I face driver problem at the client place. If it is possible to backup drivers from a dead windows computer as I backup My Documents by using Win-PE/Bart-PE

    then it will be very helpful to me.

    Thanks in advance to anyone who advice me something on this ASAP.

    It should be possible, but maybe you should try using driverpacks.net along with some software that installs drivers from them? In sticky in this department you've couple of programs which help installing multiple drivers from driverpacks without having to go one by one.

  9. this is my first post so please excuse me if I'm in the wrong place or wrong format. Most of this stuff is way beyond me, but I'm rebuilding my system after a trojan attack. Most things are up and running again but I cannot get my system to recognise my external drive - presumably my sata card is not registering. My card is a Silicon Image Si1 3112. It ran fine previously but now I cannot find a driver that I can install. I downloaded one from the SI website but when I opened it instead of an exe file I found a batch of files that I do not understand, with assorted endings. Is there a simple fix for an illiterate like me?

    You should have created new thread. This one is for something diffrent then help with general drivers problems. I assume you have downloaded zip file or similar and after unpacking you have .inf file and bunch of other files but no .exe. This is normal. You should click start then in Run window type in devmgmt.msc. Then find device marked with yellow question mark and then right click on that device and choose properties. There you will find Install/Update driver in which you have to point to the .inf file that you unpacked.

  10. ohhh that's a great explaination. so where i can find driver pack? you mean like example in dell they have a driver cab on drive c. right? can i use it to put in on my driver directory? maybe i need to put all drivers in one folder and put this hardware installer, config.xml and edit this xml to path the direction of my drivers. am i right? please help coz i think i understand what u mean but im confused.

    By driverpacks i meant http://driverpacks.net/. Drivers prepared by them are in clean form, having only .inf's and proper driver and not being packed with cabs, setup.exe and so on. It is possible that driver that has setup.exe, cab etc may work but it's not guaranteed so you may have to unpack and prepare the drivers for instalation (or use DriverPacks and pray they have all you need).

    And yes, it's like in Dell you create on directory with all drivers and you put my program there or you keep it anywhere you want just .xml has to point to that directory. Then you run it (either in manual mode which you have to click thru, but it's very recommended in the beginning so you know what the program does, or in auto mode which after start will do what it says in .xml and shutdown itself when done).

    By having one directory i mean C:\Drivers but you can have subfolders like C:\Drivers\Mobo\Somethings\Somethingelse. Program will search for drivers in every subdir so you don't have to put all drivers in one folder (it's even not recommended). I would suggest to read this whole thread (this may take a while) but should help you understand the process and see how other people get along with it.

  11. i dont get this program i already download the hardware installler and Hardware_config.xml. ill try to open the installer then i saw the program. how can use this if im going to put a driver on a newly installed windows. just run this program or i need to make or put a driver inside the program. pls help i really need this but im newbie i dont know know how to use this program.

    Hello lezhrej,

    There's no installer for this program. It's one executable to run (my bad for naming it Hardware Installer). You have to create directory somewhere (lets assume C:\Drivers). You put all drivers you have (in clean form - Driver Packs are best for this) and then you modify .xml to your needs (like point program to where drivers are etc). Then you just run program and it should do all for you. Just so you know it's not something you should use for one time installing of drivers (like your private computer, although you can). It's power is in reusing it over and over in company you work for so you can prepare one drivers directory (on cd, dvd or network drive) and program is supposed to do all the heavy work for you.

    Hope this helps.

  12. Hey MadBoy :) I haven't seen you for a while on the forum. Did you had time to do some progress on your next release in the past two months?

    Unfortunately I've come across a nasty bug which I like to inform you about. I ran the tool on an Acer Aspire One netbook, so I don't know if the problem is related to its devices. Perhaps you can debug what the problem is? Also, I'd like to know if the tool is (or could be made) Windows 7 compatible :)

    Hello psycho. This bug seems to be related to database prepare. I'll take a look at code later on but can you check if it crashes only on that one netbook? It shouldn't be related to hardware because what it is doing then is going thru all drivers and putting them in database. So if it crashes on one notebook it should crash on the other if you're using same share/folder which happens to store the drivers.

    I'll take a look.

    As for Windows 7 i haven't had a time to take a look at 7 how the drivers behave there and what could be done to extend functionality of the software to support Vista and Win7. I wanted to add backup drivers solution but since nobody could point me right way and i don't have time to dig myself it's put into on hold.

    Currently i am working on Ultimate Unpacker in c# which allows unpacking of multiple releases/applications packed with zips/rars with simple queue / drag and drop or choice of a dir for example C:\Downloads, it should unpack and deleted (if option is set) not needed files etc etc :-)

    Hope all is good with you,

    MadBoy

  13. Hello again,

    It has been a while, but I'm pleased to report complete success with the latest version of the program.

    I did have some issues with multiple inf's and matching device id's, but that's on my side and was easy to resolve.

    The hardware database works in alphabetical order. Sometimes an older driver was installed for a device while a newer driver was available.

    Renaming of the folders was necessary, for example 01 and 02 in front of the names was OK to have the correct driver installed.

    I believe there is nothing more to solve as it works fine now. Your support to the community is one of a kind Madboy.

    If you have some spare time, you could take a look at updating the other (installed) drivers also.

    At this moment, Windows XP installs some outdated drivers and it would be nice if the program compares all found hardware Id's with those in the hardware.db.

    It would take a little more time but in that way every driver would be updated to it's latest version, not only the error devices.

    Anyway, thanks for this awesome tool.

    Cheers,

    Escorpiom.

    Hello Escorpiom,

    I'm glad the program works. I know about it faults and i will try to make it better (aka use the highest version possible) for installing to unknown devices. As for the updating you could always use OldMethod which adds paths to all drivers to registry (may give some problems) instead of only choosen ones. This would force windows to search for newest driver (if you use the switch to update all drivers in xml). When i'll get time i'll most likely fix updating to new method (using db) and to use highest version only.

    Unfortunetly I need the time to develop something i get money for ;-) So don't expect it to arrive in few days :-)

    MadBoy

  14. I've refreshed download location and uploaded newest version that I had not released for quite long time. Enjoy.

    Version history

    Version 1.9.6.0

    - Added button proceed is now disabled if GHOST32.EXE or GDISK32.EXE aren't found.

    - Added Recovery Console

    - Fixed possible config places

    - Fixed problem with wrong image name when saving (lack of space)

    Version 1.9.7.0

    - Renamed couple of functions to be more descriptive

    - Fixed reloading of drives on disk wipe

    - Fixed tab names that were causing gui issues

    - Added special option that enlarges Builds Window and hides save build features if the Save option is not enabled.

    - Fixed couple of issues with disk wipe view to make sure proper drive is choosen when selecting

    Version 1.9.8.0

    - Added initialization for Windows PE. This is important as it installs PnP drivers etc

    - Added force for the keyboard to UK layout

    - Added Wipe Function progress display in LogBox

    - Added some CDROM "startup" functions

    Version 1.9.9.0

    - Fixed Wipe function progress was displaying unnessecary space in the begining of percentage.

    - Fixed Wipe function - additional sleep commands, a bit more changes to wipe look

    - Fixed Wipe function - problem with array (hopefully).

    - Added full DVDROM "startup" support.

    - Added variable to remember the old choice of image

    Version 1.9.9.1

    - Fixed Wipe function - problem with array (100%)

    - Fixed Wipe function - progress display should be more accurate

    Version 1.9.9.2

    - Fixed Wipe function - problem with array (200%)

    Version 1.9.9.3

    - Fixed DVDROM booting function - problem with array

    Version 1.9.9.4

    - Added progress bar for WIPE option

    - Removed progress from LogBox for WIPE

    Version 1.9.9.5

    - Optimized progress bar for Wipe option

    - Added progress text for Wipe option aswell

    Version 1.9.9.6

    - Added About Window

    - Added initialize commands to .xml config file

    Version 1.9.9.7

    - Fixed problem with error msg "Use GUICtrlDelete to delete items or if items created with UDF function make sure to pass in handle to control not the controlID"

    - Fixed mapping of drives so all fields have to be typed in before proceeding

    - Added diagnostic mode

    Version 1.9.9.8

    - Added commands to log window that are executed in diagnostic window

    - Added waiting screen while winpeinit is running.

    - Modified Recovery Console behaviour

    - Fixed loading of config file not always happend. Program will now wait for winpeinit function to execute and find external removable devices.

    - Fixed extended waiting timeout to 60seconds for Winpe Init function

    Version 1.9.9.9

    - Internal company release

    Version 2.0.0.0

    - Internal company release

    Version 2.0.0.1

    - Little fixes (non-public)

    Version 2.0.0.2

    - Removed company code

    Version 2.0.0.3

    - First public release of 2.0 version

  15. So I was busy but this couldn't get out of my head. So here's a fixed one.

    Version 2.0.0.28 (public)

    - Fixed Drivers database creation for larger inf files. (recommended upgrade to newest version because of that);

    Version 2.0.0.27 (public)

    - Tweaked logging a bit

    - Tweaked SEARCH & MATCH function

    Version 2.0.0.26 (public)

    - Tweaked hardware wizard a bit. There's no longer need to provide string with & char before the underlined char on button

    Get newest version at: http://pro-solutions.pl

  16. Spot on.

    I prefer not to copy stuff when it's not needed. It has do be deleted afterwards anyway. And yes, keeping it on the share is easier.

    As far as the mapping, it's a neat future but I don't need it.

    Today I tested the new version and although I could not verify the subsys issue, came across something else. It's a little difficult to explain, please ask me if you don't understand.

    I have the inf from C-media audio driver. It contains a lot of device id's. Will attach the file here.

    For some strange reason, the hardware database is limiting the amount of device id's added. Please note my hardware.db is about 10MB at the moment.

    For example, VEN_8086&DEV_24D5&SUBSYS_97611849 were referenced in the inf, but did not show in the hardware.db!

    Only the first 53 lines from the 24D5 device were added, the rest was ignored.

    You can see that the 8086 24D5 section has a lot more entries, I guess more then a hundred in total.

    Because of this, the hardware was not installed. Error: Driver path not found in DB.

    PCI\VEN_8086&DEV_24D5&SUBSYS_18841019,\Sound\Cmedia\CMI_SIS_VIA_AC97\WDM\CMICHX.INF,cmuda.cat,Unknown,
    PCI\VEN_8086&DEV_24D5&SUBSYS_18851019,\Sound\Cmedia\CMI_SIS_VIA_AC97\WDM\CMICHX.INF,cmuda.cat,Unknown,
    PCI\VEN_8086&DEV_24D5&SUBSYS_18861019,\Sound\Cmedia\CMI_SIS_VIA_AC97\WDM\CMICHX.INF,cmuda.cat,Unknown,
    PCI\VEN_10DE&DEV_006A&SUBSYS_0A171019,\Sound\Cmedia\CMI_SIS_VIA_AC97\WDM\CMNVDA.INF,cmuda.cat,Unknown,
    PCI\VEN_10DE&DEV_006A&SUBSYS_0A181019,\Sound\Cmedia\CMI_SIS_VIA_AC97\WDM\CMNVDA.INF,cmuda.cat,Unknown,
    PCI\VEN_10DE&DEV_006A&SUBSYS_0A191019,\Sound\Cmedia\CMI_SIS_VIA_AC97\WDM\CMNVDA.INF,cmuda.cat,Unknown,

    As you can see, the last line referenced in hardware.db is "PCI\VEN_8086&DEV_24D5&SUBSYS_18861019", after that the Nvidia section starts. But there are a lot more entries in the .inf file!

    Either:

    - The hardware.db is size-limited (10Mb?) and because of that the number of entries are cut-off

    or

    - Only a certain amount of entries per .inf file/device id is allowed/added to hardware.db

    What could be the issue?

    Cheers,

    Escorpiom.

    Hello Escorpiom,

    Indeed. You found a bug. The problem is AutoIt has a limit to how much data can be in a section in an ini(inf is special case of ini) file. IniReadSection will only read up to 32,767 chars. While the whole file has a lot more.

    This means i have to rewrite the function that is responsible for reading up the file :-) Will do it later this week when I'll get some time.

    Nice catch :-)

  17. Escorpiom,

    I do hope you know about map feature in the app itself right ?:-) But i guess you keep the program on share for easier maintenance with newer versions.

    As for the copy feature it would be doable but it's not easy. I would need to realy get into .inf files and as you probably noticed my question on this board regarding backing up inf's i'm having a bit of problem with this :-)

  18. Hello everyone,

    I'm trying to write program to backup drivers from working or non-working system. I've been reading a bit and looking in inf files and it seems I've some unanswered questions. My aproach to backup is looking at

    Windows\Inf folder. I list all inf files and read all of them. Lets take for example this:

    [sourceDisksNames]

    3426=windows cd

    [sourceDisksFiles]

    WSDScDrv.dll=3426

    [DestinationDirs]

    DefaultDestDir = 11

    WSDScanDriver.CopyFiles = 11

    Now i know i have to backup WSDScDrv.dll file which should be located Windows\System32 folder (as 11 means it's System32 folder). However the file is not there, it can be found at C:\Windows\System32\DriverStore\FileRepository\wsdscdrv.inf_x86_neutral_93205116e7f7a608 (Windows 7)

    So my question is how can i really tell where the file is at (well i can look for it if it's only way). According to http://msdn.microsoft.com/en-us/library/ms790174.aspx the 11,12 etc numbers point to specific locations but so far only 12 means it's in the right place.

    Hope someone can share some light on this, this would help in writting a nice backup program for all Windows systems from WinXP to Win 7 :-)

  19. It's good that you found correct solution. I'll probably add it to the list :-) Also was thinking to add that Hardware Wizard management option for case when it's still enabled. We will see. At the moment I've been playing with C# and Backup Drivers app. Need to find out how things work so maybe i'll release easy to use app to backup all drivers from system.

    MadBoy

  20. 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/vista-windows-update-device-driver.html but might be in XP too, can't find it in 7.

×
×
  • Create New...