osceolakid Posted October 3, 2012 Share Posted October 3, 2012 Hi, Recently downloaded the full install of AutoIT3 and tried to use recorder and recorded and install that got this error. I decided to cut and paste contents into Notepad and compiled yet got the same error but at a different line # that isn't what the line says in the uncompiled script? AutoIT error "Line 2 (File "C:\Users\glenna\Documents\E5500.exe"): Error: Unknown function name AU3 script: Run('C:\Drivers\Win7x_86_WIFI_E5500\Setup.exe') _WinWaitActivate("Program Manager","FolderView") MouseClick("left",144,778,1) _WinWaitActivate("Libraries","Namespace Tree Contr") MouseClick("left",131,369,2) _WinWaitActivate("Local Disk (C:)","Namespace Tree Contr") MouseClick("left",242,155,1) MouseClick("left",242,155,1) _WinWaitActivate("Drivers","Namespace Tree Contr") MouseClick("left",268,133,1) MouseClick("left",268,133,1) _WinWaitActivate("Win7x_86_WIFI_E5500","Address: C:\Drivers\") MouseMove(788,198) MouseDown("left") MouseMove(775,406) MouseUp("left") MouseClick("left",206,480,1) MouseClick("left",206,480,1) MouseClick("left",703,14,1) MouseClick("left",703,12,1) Exit Any ideas on how to correct this? Thanks! Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted October 3, 2012 Moderators Share Posted October 3, 2012 (edited) Hi, osceolakid, welcome to the forum. Just a question to begin, have you attempted a silent install so you don't have to bother with trying to automate the GUI? It appears you're trying to install a driver; something like this usually works for these: ShellExecuteWait('C:DriversWin7x_86_WIFI_E5500Setup.exe', '/s') If this doesn't seem to work for you, I would suggest doing a Setup.exe /? to see what command-line parameters are open to you. Edited October 3, 2012 by JLogan3o13 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
guinness Posted October 3, 2012 Share Posted October 3, 2012 JLogan3o13 is right, but about your error you should add this to it (though I would use the silent install.) Func _WinWaitActivate($sTitle, $sText, $iTimeout = 0) WinWait($sTitle, $sText, $iTimeout) If Not WinActive($sTitle, $sText) Then WinActivate($sTitle, $sText) WinWaitActive($sTitle, $sText, $iTimeout) EndFunc ;==>_WinWaitActivate UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
osceolakid Posted October 3, 2012 Author Share Posted October 3, 2012 Hello, Yes the driver is scripted by dell with the setup.iss...When going through the readme file there are switches and a property to add which I tried and the installation wouldn't completely install? Ergo, record it and see what happens. i will paste the Function in and try it. Thank You! Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted October 3, 2012 Moderators Share Posted October 3, 2012 Hi, osceolakid. I have a Dell test environment. If you would like to post a link to the driver, I can walk through scripting the command line switches with you. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
osceolakid Posted October 4, 2012 Author Share Posted October 4, 2012 Thanks, the link to driver is:http://www.dell.com/support/drivers/us/en/555/DriverDetails/Product/latitude-e5500?driverId=R260737&osCode=WLH&fileId=2731112810 Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted October 4, 2012 Moderators Share Posted October 4, 2012 Hi, osceolakid. I took a look at the driver package; it is a pretty straight forward install. When you download the R260737.exe from the website, you have to extract the files from the executable. Once you have done this, you can weed out the drivers you don't need (DRIVER_JPN, etc.). Then run Setup.exe with the /s switch for a silent install. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
osceolakid Posted October 4, 2012 Author Share Posted October 4, 2012 That's exactly what I first tried and it only partially installs. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted October 4, 2012 Moderators Share Posted October 4, 2012 That is odd. It installed just fine for me with the following: ShellExecuteWait("Setup.exe", '/s') Have you confirmed it installs okay manually? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
osceolakid Posted October 5, 2012 Author Share Posted October 5, 2012 Yes, manually it totally installs with a folder in "All Programs" and sets up different protocols EAP-FAST, EAP-LEAP, EPP-PEAP, in "Programs and Features". This isn't experienced with the /s switch or with the recommended property /v"FRESHINSTALL=True" added per the Readme.rtf in folder? I have other newer models of Dell wih different Broadcom wireless drivers and the /s works just fine.... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now