Sign in to follow this  
Followers 0
Rob08

Unattended installation

4 posts in this topic

Hey, I'm writing a script for TightVNC based on this tutorial.

The problem is I'm stuck in the "Select destination location".

Run ("tightvnc-1.3.9-setup.exe")
WinWaitActive ("Setup - TightVNC")
Send("n")
Send("n")
Send("n")
Send("n")
Send("n")
Send("n")
Send("{ENTER}")

I've tried this, but it still doesn't work:

Run ("tightvnc-1.3.9-setup.exe")
WinWaitActive ("Setup - TightVNC")
Send("n")
Send("n")
WinWaitActive("Setup - TightVNC")
Send("{TAB}"); <- This line should fix the problem, but actually it adds "nnn" as you can see below

Send("n")
Send("n")
Send("n")
Send("n")
Send("{ENTER}")

Posted Image

Any ideas, please?

Share this post


Link to post
Share on other sites



Nevermind.

Run ("tightvnc-1.3.9-setup.exe")
WinWaitActive ("Setup - TightVNC")
Send("n")
Send("n")
WinWaitActive("Setup - TightVNC")
Send("{TAB}")

Send("n")
Send("!n")
Send("!n")
Send("!n")
; rest of the code

Now it works.

Share this post


Link to post
Share on other sites

Run ("tightvnc-1.3.9-setup.exe")
WinWaitActive ("Setup - TightVNC")
Send("n")
Send("n")
Send("{TAB}")
Send("n")
Send("!n")
Send("!n")
Send("!n")
Send("!n")
Send("!i")
Sleep (1000)
Send("F")

;)

Share this post


Link to post
Share on other sites

Using the silent install tightvnc-1.3.10-setup.exe /sp- /verysilent it won't start the service is there a switch to install the service under silent?

Cheers

RunWait("c:\install\Software\TightVnc1.3.10\tightvnc-1.3.10-setup.exe /sp- /verysilent", "", @SW_HIDE)

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