Sign in to follow this  
Followers 0
timone

Updated bios with the help of AutoIt

22 posts in this topic

Hi all this is my first post in this forum.

I will describe what the problem was, I need to update the bios on the old pc, I only access them by telnet, it works on them windows xp. Update from the windows I want to do the program WinFlash 1.76 (award bios) with the transfer of parameters to the program WinFlash will not have a problem, but how did the initial tests with other programs GUI running with AutoIt through telnet did not work properly.

Please direct me how to write this script.

Share this post


Link to post
Share on other sites



I'm not completely 100% but as to what if you ever need to do this. Have you running the WinFlash on domain a or did you not at all?

Please question my answers, and you will be successful.

Share this post


Link to post
Share on other sites

I do not know whether WinFlash working in the domain but I put a link to the program

link to WinFlash

Share this post


Link to post
Share on other sites

I apologize for my English, I learned the Russian in school: /

Please write what you did not understand I'll try to explain better.

Share this post


Link to post
Share on other sites

Hi all this is my first post in this forum

I wanted a welcome with user in this forum.

Please direct me how to write this script

users have better knowledge of what tips me how to do it well.

whether the did not deviate from the topic?

Share this post


Link to post
Share on other sites

No, I did not understands the parts between those two phrases.

$meNotUnderstand = _StringBetween($yourPost, "Hi all this is my first post in this forum", "Please direct me how to write this script")

It was this:

I will describe what the problem was, I need to update the bios on the old pc, I only access them by telnet, it works on them windows xp. Update from the windows I want to do the program WinFlash 1.76 (award bios) with the transfer of parameters to the program WinFlash will not have a problem, but how did the initial tests with other programs GUI running with AutoIt through telnet did not work properly.

Share this post


Link to post
Share on other sites

I need a update BIOS in remote computer, under Windows XP with command line, I only call to host by telnet.

Share this post


Link to post
Share on other sites

I have such an idea: connect to a remote host with the telnet service, from a remote host doing ftp to my ftp server where bios.bin, WinFlash.exe and file generate file from AutoIt, fetching these files to a remote host, and I run file_generate_from_autoit.exe.

Share this post


Link to post
Share on other sites

Ok... perhaps there is a language barrier... but certainly, this thread will succumb without some GOOD information being provided.

To the Original Poster:

Please provide, in detail, the manual steps of "flashing" the BIOS. From this manual description (again... details!) you will be provided with help from the AutoIt community. Anything short of useful data at this point will cause this thread to die.

Lar.


f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Share this post


Link to post
Share on other sites

I want to use AutoIt to automate the process of updating BIOS, a program for flashing the system is WinFlash 1.76 (Award BIOS) program must be run from the command line, as you probably guessed WinFlash is a GUI program and run from the command line (telnet) to fail.

Share this post


Link to post
Share on other sites

Oh, now I get it. It was still a little bit cryptic so let me repeat what you said.

- You telnet into the remote machine. You can execute commands on that machine through telnet.

- You want to run the WinFlash program to flash the machine, but you can't access this through command line alone.

- You want to write a AutoIt script that automates the WinFlash gui. You want this AutoIt script to be able to run from the command line, with some parameters that you can set in the AutoIt script that are somehow turned into commands for WinFlash.

Is this correct?

Share this post


Link to post
Share on other sites

Yes this is what I meant, thank you very much for your patience and understanding.

Share this post


Link to post
Share on other sites

Yes this is what I meant, thank you very much for your patience and understanding.

Ah, then we can give you a list of commands that will help you. You shouldn't have to worry about the whole telnet business too much, just that it needs to be run from command line.

The command line parameters are stored in a variable called $CmdLine. The help file discusses this.

For automating the window, there are very much different ways to do this. Some functions that can help:

Run
WinWait
WinActivate
WinWaitActive
ControlClick
ControlSend
ControlSetText

I hope this sends you on your way. : )

Share this post


Link to post
Share on other sites

rather than telnet, also is PSEXEC which can push out stuff and execute it.

Lar.


f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Share this post


Link to post
Share on other sites

Hello,

in my script, I wanted to use ConsoleWrite ('') but as I run the script compiled to exe file from the command line, nothing is displayed in the console, why ?

Share this post


Link to post
Share on other sites

#20 ·  Posted (edited)

Hello,

in my script, I wanted to use ConsoleWrite ('') but as I run the script compiled to exe file from the command line, nothing is displayed in the console, why ?

In order to do that, your script needs to be compiled as CUI.

Also, try:

ConsoleWrite ('Hello World.')
Edited by Manadar

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0