Skip to content

opsi.orgheader image

opsi.org
Views
WinstScripts >>

RealVNC

Document Actions
last edited 4 years ago by matze
The Registry-Variable "Password" has to be set. 
This Variable can be found at the Registry of an existing installation.


[Initial]
; Message at install time:
Message=Installing RealVnc 4 ...
LogLevel=2
;  Log Errors in Logfile but don't abort:
ExitOnError=false
; Show syntax errors in the script:
ScriptErrorMessages=on
; Dont trace step by step through the script:
TraceMode=off
; let started programs run in front of the winst window
StayOnTop=true

[Aktionen]
DefVar $TEMP$
Set $TEMP$ = EnvVar("TEMP")
;Variables for OS version
DefVar $OS$
set $OS$ = GetOS
; is this a win32 system ?
if ( $OS$ = "Windows_NT"  )

; show product picture
  ShowBitmap /3 "%scriptpath%\realvnc.bmp" "RealVnc"

; start setup program
  Winbatch_RealVnc
  Registry_Set_Variables

endif

[Winbatch_RealVnc]
"%SCRIPTPATH%\vnc-4_1_1-x86_win32.exe" /sp- /verysilent

[Registry_Set_Variables]
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\RealVNC\WinVNC4]
set "Password"=reg_binary:00,11,22,33,44,55,66,77
set "SecurityTypes"="VncAuth"
set "ReverseSecurityTypes"="None"
set "QueryConnect"=reg_dword:0x00000000
set "QueryOnlyIfLoggedOn"=reg_dword:0x00000000
set "PortNumber"=reg_dword:x0000170c
set "IdleTimeout"=reg_dword:x00000e10
set "HTTPPortNumber"=reg_dword:x000016a8
set "LocalHost"=reg_dword:0x00000000
set "Hosts"="+,"
set "AcceptKeyEvents"=reg_dword:0x00000001
set "AcceptPointerEvents"=reg_dword:0x00000001
set "AcceptCutText"=reg_dword:0x00000001
set "SendCutText"=reg_dword:0x00000001
set "DisableLocalInputs"=reg_dword:0x00000000
set "DisconnectClients"=reg_dword:0x00000001
set "AlwaysShared"=reg_dword:0x00000001
set "NeverShared"=reg_dword:0x00000000
set "DisconnectAction"="None"
set "RemoveWallpaper"=reg_dword:0x00000000
set "RemovePattern"=reg_dword:0x00000000
set "DisableEffects"=reg_dword:0x00000000
set "UpdateMethod"=reg_dword:0x00000001
set "PollConsoleWindows"=reg_dword:0x00000001
set "UseCaptureBlt"=reg_dword:0x00000001
set "UseHooks"=reg_dword:0x00000001
set "Protocol3.3"=reg_dword:0x00000000