1.

Solve : !!!Need help with writing script for installing and setting up certain app......?

Answer»

I am very new to the scripting programming, to be honest just STARTED playing with it yesterday.

I am trying to write a batch file that will open up my realVnc (like remote desktop) intstall the program to the computer and set up certain settings. The reason for doing that is to help my parents and friends fix their computers remotely, no harmful purposes.

Here is how FAR I got just bear bones structure:

pause


echo off

echo Start Running real VNC

:RUN_c:\realVncBat\vnc-4_1_2-x86_win32.exe

call c:\realVncBat\vnc-4_1_2-x86_win32.exe

I guess my question is very general, but if you can tell how to MANIPULATE windows application with dos command such as clicking button next etc. would be a great starting point.


Thanks in advance

Quote from: kminev on June 06, 2007, 08:34:10 PM

but if you can tell how to manipulate windows application with dos command such as clicking button next etc. would be a great starting point.
not quite possible using DOS to "click" buttons, the only way i can think of is unless realvnc has a "silent install" option. check with its documentation.hey all,

I fairly new to this batch file lark as well, but to do this we'd need to know a, weather Real VNC SUPPORTS command line switching and b, what the commands are.

I have tried start c:\program files\realvnc\vnc4\start vncviewer /? and it lists the commands that it will accpet from a command line.

(to many to type out)

i sujest that you do the same.

I like the idea of (what would it be) email you family member with a folder with the installation .exe and a bacth file. get them to run the bacth file a jimmys ur mothers brother vnc installed and running.

If i get a CHANCE later i might have a go writing something myself.

I'll let you know how i get on.

Blastman Quote from: blastman on June 09, 2007, 03:59:39 AM
hey all,

I fairly new to this batch file lark as well, but to do this we'd need to know a, weather Real VNC supports command line switching and b, what the commands are.

I have tried start c:\program files\realvnc\vnc4\start vncviewer /? and it lists the commands that it will accpet from a command line.

(to many to type out)

i sujest that you do the same.

I like the idea of (what would it be) email you family member with a folder with the installation .exe and a bacth file. get them to run the bacth file a jimmys ur mothers brother vnc installed and running.

If i get a chance later i might have a go writing something myself.

I'll let you know how i get on.

Blastman

Instead of writing them, you could just redirect the output to a text file by using > (i.e. start vncviewer /? > file.txt)didn't know that!!!

nice cheers

(having just re-read my post, we'd need to output the txt file for the installation exe as i just did it for the already installed program)ok,

something to work on,

but, vnc-4_1_2-x86_win32.exe /silent will install the program.

now it's just a case of writing the batch file acordingly.

what settings you looking to change?


Discussion

No Comment Found