Jump to content

Recommended Posts

Posted

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?

Posted

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.

Posted

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")

;)

  • 8 months later...
Posted

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)

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...