I am a newbee and wasn't able to find help by searching. I apologize if it is already here somewhere, you kind of need to know the right things to search for...
So:background
I am trying to automate the following instructions I got from a device provider. (attached below) I have to change between 2 versions of the device driver in order to work with 2 different applications.
Problem:
I get stuck when I have to choose "uninstall" at 4. I am not sure I will know how to handle the rest... but lets do it one at a time.
thanks
--------------------------------
1. Go to Device Manager (Control Panel/System/Hardware/Device Manager
2. click on the + box next to the Physical Acoustics/Mistras heading. A drop-down menu opens
3. right-click on PCI-8 boards
4. click uninstall
5. click on Action in the Device Manager toolbar
6. click Scan for Hardware changes
7. Hardware Wizard appears
8. click Install from a list… click Next
9. click Do not search. I will choose a driver… click Next
10. click Have Disk
11. Browse C: drive Program files
12. choose Physical Acoustics/Mistras
13. click on AEwin for SAMOS
14. click on Drivers folder
15. choose PCIAE54
16. click Finish
So:background
I am trying to automate the following instructions I got from a device provider. (attached below) I have to change between 2 versions of the device driver in order to work with 2 different applications.
Problem:
I get stuck when I have to choose "uninstall" at 4. I am not sure I will know how to handle the rest... but lets do it one at a time.
thanks
[ autoit ]
#Include <GuiTreeView.au3> Run("mmc devmgmt.msc") WinWaitActive("Device Manager") $hTree = ControlGetHandle("Device Manager", "", "[Class:SysTreeView32;Instance:1]") $hItem = _GUICtrlTreeView_FindItem($hTree, "PCI8R3 System on a Card") _GUICtrlTreeView_SelectItem($hTree, $hItem, $TVGN_CARET) ; Focus treeview and Send Enter ControlFocus("Device Manager", "", $hTree) ControlSend("Device Manager", "", $hTree, "{ENTER}") ;Sleep(500) ;MouseClick("right") ;Sleep(500) ;Send("U") Exit
--------------------------------
Quote
1. Go to Device Manager (Control Panel/System/Hardware/Device Manager
2. click on the + box next to the Physical Acoustics/Mistras heading. A drop-down menu opens
3. right-click on PCI-8 boards
4. click uninstall
5. click on Action in the Device Manager toolbar
6. click Scan for Hardware changes
7. Hardware Wizard appears
8. click Install from a list… click Next
9. click Do not search. I will choose a driver… click Next
10. click Have Disk
11. Browse C: drive Program files
12. choose Physical Acoustics/Mistras
13. click on AEwin for SAMOS
14. click on Drivers folder
15. choose PCIAE54
16. click Finish