Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Fork Version 3.1j Released... Feedback Needed

Simple, Free, Open Source UltraVNC Wrapper Supporting Windows and Mac OSX
Post Reply
Rat
80
80
Posts: 182
Joined: 2004-11-01 02:11

Fork Version 3.1j Released... Feedback Needed

Post by Rat »

See here... [topic=17342][/topic]

Image
Last edited by Rat on 2011-01-08 08:12, edited 1 time in total.
clayb226
8
8
Posts: 21
Joined: 2010-08-26 09:32

Re: Fork Version 3.1j Released... Feedback Needed

Post by clayb226 »

I am sorry Rat, I did not see this post when I posted my issue in the fork section. I am have a problem compiling the software. I get Line 748 of the path to InstantSupportCompiler.exe Error parsing function call
Rat
80
80
Posts: 182
Joined: 2004-11-01 02:11

Re: Fork Version 3.1j Released... Feedback Needed

Post by Rat »

Did you run "ChunkVNCRemoteSupport_Install_3.1j.exe" or try to compile the source code directly?
clayb226
8
8
Posts: 21
Joined: 2010-08-26 09:32

Re: Fork Version 3.1j Released... Feedback Needed

Post by clayb226 »

Rat wrote:Did you run "ChunkVNCRemoteSupport_Install_3.1j.exe" or try to compile the source code directly?
I used the InstantSupportCompileAll.exe in the 3.1j directory. I tried the install.exe first, but none of my branding was present and the such.

Did you use the ChunkVNCRemoteSupport_Install_3.1j.exe for your testing, I have tried several different times. The version I am currently using is your 3.1g. It compiled, and worked great the first time. I may be missing something this time.
Last edited by clayb226 on 2011-01-09 22:30, edited 1 time in total.
Rat
80
80
Posts: 182
Joined: 2004-11-01 02:11

Re: Fork Version 3.1j Released... Feedback Needed

Post by Rat »

Can you post your "InstantSupportDefs.au3" file here?
Rat
80
80
Posts: 182
Joined: 2004-11-01 02:11

Re: Fork Version 3.1j Released... Feedback Needed

Post by Rat »

Also have you successfully installed and run the "Out-Of-The-Box" solution provided by the "ChunkVNCRemoteSupport_Install_3.1j.exe"?

I just ran this on a cleanskin Virtual machine and it worked without any errors. Both the Server and Viewer it created also ran without any errors?
clayb226
8
8
Posts: 21
Joined: 2010-08-26 09:32

Re: Fork Version 3.1j Released... Feedback Needed

Post by clayb226 »

Rat wrote:Can you post your "InstantSupportDefs.au3" file here?
I wrote:; Select wether to use encryption with Viewer, (Mac InstantSupport doesn't use encryption)
Global $EncryptViewer = True

; VNC Server and Repeater ports
Global $ServerPort = 5900 ; External port of the VNC Server
Global $RepeaterPort = 5500 ; External port of the VNC Repeater Server

; Select Connection ID Type, (1 = Fixed, 2 = User-Selected, 3 = Random)
Global Const $ConnectIdFixed = 1, $ConnectIdUser = 2, $ConnectIdRandom = 3, $ConnectIdList = 4
Global Const $LowerLimit = 100000, $UpperLimit = 999999

Global $ConnectIdType = $ConnectIdFixed

; Define a Unique Connection ID number
Switch $ConnectIdType
Case $ConnectIdFixed
$ConnectId = 123456
Case $ConnectIdUser
$ConnectId = 'Enter a Connection ID'
Case $ConnectIdRandom
$ConnectId = Random($LowerLimit, $UpperLimit, 1) ; Generate a random Connection ID number
Case Else
$ConnectId = 'Enter a Connection ID'
$ConnectIdType = $ConnectIdUser
EndSwitch

; Connect to the VNC repeater server automatically after startup
$AutoConnect = False

; Display Code, (ignored except for $ConnectIdFixed)
Global $ShowID = False
If $ConnectIdType <> $ConnectIdFixed Then $ShowId = True

; Define some Re-branding Strings
Global $BrandName = 'Burtons OpenSource Solutions' ; Used for tooltip when clicking on the logo
Global $LongName = 'Burtons OpenSource Solutions Remote Support'
Global $ShortName = 'BOSSRemote'

; URLs
Global $RepeaterUrl = 'www.burtonsoss.com'
Global $WebURL = 'www.burtonsoss.com'

; Display a message box prompt if an RC4 encryption file already exists during compilation
Global $KeepExistingRc4 = True

; Pin the Window to the top of the Z-Order
Global $PinWindow = True ; If $PinWindow is True then double-clicking the logo image will Un-Pin the window
Global $UnPinKeyCode = '^u' ; Type this Hotkey code to Un-Pin window

; Exe Icons
Global $InstallerIcon = 'InstallerIcon.BOSS'
Global $ServerIcon = 'ServerIcon.BOSS'
Global $ViewerIcon = 'ViewerIcon.BOSS'

; Show Window Titlebar and Border
Global $ShowTitleBar = False

; Enable Click on Logo to load $WebURL
Global $AllowLogoClick = False

; GUI Background Colour
Global $BackgroundColor = 0x707E89

; Show the Exit Button
Global $ShowExitButton = True
Global $ExitButtonLeft = 8
Global $ExitButtonTop = 222

; Show the Help Button
Global $ShowHelpButton = True
Global $HelpButtonLeft = 80
Global $HelpButtonTop = 222

; Show the Connect Button
Global $ShowConnectButton = True
Global $ConnectButtonLeft = 152
Global $ConnectButtonTop = 222

; Top/Left coordinates and Width and Height of clickable Logo image
Global $LogoLeft = 0
Global $LogoTop = 0
Global $LogoWidth = 600
Global $LogoHeight = 300

; Height, Font and Colour of Connection ID text
Global $IdHeight = 61
Global $IdFont = 'Arial Black'
Global $IdFontStyle = 0 ;0 - Normal, 2 - Bold, 3 - Italic, 4 - Underline, 8 - Strikethrough
Global $IdFontSize = 45 ; in pixels
Global $IdFontColor = 0xFFFFFF

; Width and Height of Dialog client viewport area, (in this case same as the Logo since it covers the entire form client area)
Global $GuiWidth = $LogoWidth
Global $GuiHeight = $LogoHeight

If $ShowId Then $GuiHeight = $GuiHeight + $IdHeight

; Specify Connection Timeout Fail Interval, Note: Remote Support server will automatically exit if unable to connect within this interval.
Global $ConnectTimeout = 300 ; (seconds) Note: Set $ConnectTimeout to 0 to ignore

; Hide application window when connected, (restore from system tray menu)
Global $HideOnConnect = True

; Top/Left coordinates and Width and Height of clickable Staff List
Global $StaffListLeft = 288
Global $StaffListTop = 11
Global $StaffListWidth = 211
Global $StaffListHeight = 252

; Define Staff list and their Connection ID's as a global Array. Each entry consists of the following value pair: [<Staff Name>, <Staff ID>]. Note Set $StaffList to 0 to ignore
Global $StaffList[13][2] = _
[ _
['Technician 1', 100001], _
['Technician 2', 100002], _
['Technician 3', 100003], _
['Technician 4', 100004], _
['Technician 5', 100005], _
['Technician 6', 100006], _
['Technician 7', 100007], _
['Technician 8', 100008], _
['Technician 9', 100009], _
['Technician 10', 100010], _
['Technician 11', 100011], _
['Technician 12', 100012], _
['Technician 13', 100013] _
]

If Not $StaffList = 0 Then ; Disable $ConnectId if $StaffList defined
$ConnectId = 0
$ConnectIdType = $ConnectIdList
EndIf
clayb226
8
8
Posts: 21
Joined: 2010-08-26 09:32

Re: Fork Version 3.1j Released... Feedback Needed

Post by clayb226 »

Rat wrote:Also have you successfully installed and run the "Out-Of-The-Box" solution provided by the "ChunkVNCRemoteSupport_Install_3.1j.exe"?

I just ran this on a cleanskin Virtual machine and it worked without any errors. Both the Server and Viewer it created also ran without any errors?
Yes, I ran this, and it compiled without errors, but branding and customization was not present. This was the first step for my troubleshooting. This is when I decided I should consult this forum, made me think it was something I had done in my customization process.
Rat
80
80
Posts: 182
Joined: 2004-11-01 02:11

Re: Fork Version 3.1j Released... Feedback Needed

Post by Rat »

I just successfully compiled and ran ChunkVNC v3.1j with your Defs file...

Of course I don't have your Exe Icons or Logo, but your other customisations were all there?l
clayb226
8
8
Posts: 21
Joined: 2010-08-26 09:32

Re: Fork Version 3.1j Released... Feedback Needed

Post by clayb226 »

Rat wrote:I just successfully compiled and ran ChunkVNC v3.1j with your Defs file...

Of course I don't have your Exe Icons or Logo, but your other customisations were all there?l
Well then, I will reunpack the zip, and start all over with this file, I will then report back.
clayb226
8
8
Posts: 21
Joined: 2010-08-26 09:32

Re: Fork Version 3.1j Released... Feedback Needed

Post by clayb226 »

clayb226 wrote:
Rat wrote:I just successfully compiled and ran ChunkVNC v3.1j with your Defs file...

Of course I don't have your Exe Icons or Logo, but your other customisations were all there?l
Well then, I will reunpack the zip, and start all over with this file, I will then report back.
I tried it again, I keep getting an ultravnc connection page, script pauses.
clayb226
8
8
Posts: 21
Joined: 2010-08-26 09:32

Re: Fork Version 3.1j Released... Feedback Needed

Post by clayb226 »

clayb226 wrote:
clayb226 wrote:
Rat wrote:I just successfully compiled and ran ChunkVNC v3.1j with your Defs file...

Of course I don't have your Exe Icons or Logo, but your other customisations were all there?l
Well then, I will reunpack the zip, and start all over with this file, I will then report back.
I tried it again, I keep getting an ultravnc connection page, script pauses.
Did not compile for me, I unpacked a fresh copy, inserted my InstantSupportDefs.au3 file, then tried to compile. I am going to take a break, and try again some other time. I still have a fully functional 3.1g version running great.
Thanks for your help, and replies.
Last edited by clayb226 on 2011-01-09 23:54, edited 1 time in total.
Rat
80
80
Posts: 182
Joined: 2004-11-01 02:11

Re: Fork Version 3.1j Released... Feedback Needed

Post by Rat »

Just sent you a Private Message with instructions for me to take over your workstation remotely to attempt to remedy your problem...
Grauwesir
Posts: 2
Joined: 2011-02-10 16:36

Re: Fork Version 3.1j Released... Feedback Needed

Post by Grauwesir »

Hello
Thanks for your fine work, evcerything runs fine but
I have the same problem
no customisations are aplied that are defined in the InstantSupportDefs.au3 (except icons and logo)
Rat
80
80
Posts: 182
Joined: 2004-11-01 02:11

Re: Fork Version 3.1j Released... Feedback Needed

Post by Rat »

Hi Grauwesir,

Clayb226's problems were most likely due to issues unrelated to my "forked" version. he had a pre-existing installation on the same machine he was using for testing that may have been interfering.

In any case if you send me a private message and include your Defs file, (suitably sanitised of course, ie. remove real passwords, names etc), I will have a look at it for you.
Last edited by Rat on 2011-02-11 04:12, edited 1 time in total.
kronostar
Posts: 3
Joined: 2011-02-14 17:26

Re: Fork Version 3.1j Released... Feedback Needed

Post by kronostar »

Seems to only work when installed using ChunkVNCRemoteSupport_Install_3.1j.exe but does not work without running the installer. It is the same with 3.1i. Is this by design?

REF: [topic=27532][/topic]
Rat
80
80
Posts: 182
Joined: 2004-11-01 02:11

Re: Fork Version 3.1j Released... Feedback Needed

Post by Rat »

Yes it is expected that you use the installer... the source code was only provided for people that then want to get serious about customisation...
Rat
80
80
Posts: 182
Joined: 2004-11-01 02:11

Re: Fork Version 3.1j Released... Feedback Needed

Post by Rat »

In particular have a close look at the installer script: "ChunkVNCRemoteSupport_Install_3.1i.iss". In there you can see how it renames user-provided custom files to the standard release names... see below:


Line 52: Source: .\v3.1i\SRC\ChunkVNCSupportDefs.au3; DestDir: {app}\SRC; Flags: ignoreversion; DestName: InstantSupportDefs.au3

Line 158: Source: .\v3.1i\SRC\InstantSupport_Files\logo.chunkvnc.jpg; DestDir: {app}\SRC\InstantSupport_Files; Flags: ignoreversion; DestName: logo.jpg

Line 159: Source: .\v3.1i\SRC\InstantSupport_Files\rc4.chunkvnc.key; DestDir: {app}\SRC\InstantSupport_Files; Flags: ignoreversion; DestName: rc4.key

Line 172: Source: .\v3.1i\Viewer\Bin\rc4.chunkvnc.key; DestDir: {app}\Viewer\Bin; Flags: ignoreversion; DestName: rc4.key
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: Fork Version 3.1j Released... Feedback Needed

Post by B »

Rat, do you know whether your fork (or ChunkVNC mainline for that matter) stay within their installed directories and if they affect any registry settings?

It always seems to me that various VNCs end up stepping on one another even when they're not supposed to.

In my older ChunkVNC setup, the directories involved seem to be an InstantSupport directory created in user's %temp% path and a ChunkVNC directory off of Program Files if service mode is installed, as well as the original installed directories used for compiling and viewing...
Rat
80
80
Posts: 182
Joined: 2004-11-01 02:11

Re: Fork Version 3.1j Released... Feedback Needed

Post by Rat »

In my forked version, (3.1j) of ChunkVNC, when the "$ShortName.exe" file is executed it creates the following temporary folder and places the following files in it:
Note: $ShortName is set in the "InstantSupportDefs.au3" file.

Temporary Installation Path:
Windows XP: "C:\Documents and Settings\[User]\Local Settings\Temp\$ShortName_Temp_Files\"
Vista and Windows 7: "C:\Users\[User]\AppData\Local\Temp\"

ChunkVNC Installed File List:
chunkvnc.ini
logo.jpg
rc4.key
sas.dll
SCHook.dll
SecureVNCPlugin.dsm
ultravnc.ini
vnchooks.dll
$ShortNameServer.exe
$ShortNameServiceInstaller.exe


When my ChunkVNC fork is installed as a service it creates the following permanent folder and copies the above files into it:
Note: $LongName is set in the "InstantSupportDefs.au3" file.

ChunkVNC Service Installation Path:
All Windows: "C:\Program Files\$LongName"


ChunkVNC Registry Changes:
My forked version of ChunkVNC also attempts to make the following changes to the registry to disable UAC warnings.
Note: This will only work if the user has administrator permissions.

Key: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"
Value Name: "ConsentPromptBehaviorAdmin"

It initially sets this Registry Value to 0 and then restores it to its original value when the program exits.
Last edited by Rat on 2011-02-18 03:23, edited 2 times in total.
Post Reply