Rob08 Posted August 17, 2008 Share Posted August 17, 2008 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}")Any ideas, please? Link to comment Share on other sites More sharing options...
Rob08 Posted August 17, 2008 Author Share Posted August 17, 2008 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 More sharing options...
Rob08 Posted August 17, 2008 Author Share Posted August 17, 2008 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") Link to comment Share on other sites More sharing options...
JamesDover Posted May 1, 2009 Share Posted May 1, 2009 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now