Jump to content

Unattended installation


Rob08
 Share

Recommended Posts

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?

Link to comment
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.

Link to comment
Share on other sites

  • 8 months later...

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)
Link to comment
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
 Share

  • Recently Browsing   0 members

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