Jump to content

UltraVNC install


Docfxit
 Share

Go to solution Solved by Subz,

Recommended Posts

I'd like to create a script to install UltraVNC.

I created this script so far:

#include "OSVersion.au3"
_OSVersion()
Opt("WinWaitDelay", 100)
Opt("WinTitleMatchMode", 2)
Opt("WinDetectHiddenText", 1)
Opt("MouseCoordMode", 0)
TrayTip("clears any tray tip","",0)
AutoItSetOption("TrayIconDebug", 1) ;0-off
Run('C:\Dnload\9xAddons\VNC UltraVNC_1_4_06_X64_Setup.exe')
Sleep(325)
WinWait("Select Setup Language","")
If Not WinActive("Select Setup Language","") Then WinActivate("Select Setup Language","")
WinWaitActive("Select Setup Language","")
ControlClick('Select Setup Language', 'OK', 'TNewButton1')

It isn't selecting the OK button.

This is what the screen looks like:

SelectSetupLanguage.jpg.78e02c273558e4d6b270681dc60743db.jpg

This is what the info window shows:

646301374_SelectSetupLanguageAU3(Small).jpg.427d6ab3dea1af495be786fb9df7517a.jpg

I tried:

Send("{ENTER}")

And it didn't work.

How can I select the OK button?

Link to comment
Share on other sites

Thank you for the reply...

I have created that install.  The "/verysilent" and the "/silent" switch ignores the install folder.

I want to install the software in a custom folder "C:\Programs\UltraVNC"

I have an open thread at the UltraVNC forum complaining about that.

That's why I'm trying to create my own install script.

Can it be done with an InnoSetup installer?

Edited by Docfxit
Link to comment
Share on other sites

I have been struggling with this for weeks.  

I did use the /saveinf and I am using the /loadinf in the cmd line.

I just added /dir= to the cmd line.

And it worked.  😁 Yea!

I never found that documented anywhere else.

You are super duper great.

That saved me a lot of time and now I'll get it done.

Thank you very very much,

Docfxit

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...