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
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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

Customize Chunk ??

Simple, Free, Open Source UltraVNC Wrapper Supporting Windows and Mac OSX
Post Reply
gunsmoke
40
40
Posts: 85
Joined: 2008-07-26 01:01

Customize Chunk ??

Post by gunsmoke »

I asked this question when chunk was first released but i cant find the thread now..

How can i change the name that is given to the uninstall file that's put on the desktop after chunk is installed as a service?


Thanks ;-)
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Customize Chunk ??

Post by supercoe »

LINE 359 in SRC\InstantSupport.au3
Func InstallService()

; Copy files.
FileCopy( @ScriptDir & "\*.*", @ProgramFilesDir & "\InstantSupport\", 9 )

; Create uninstall link on All Users desktop.
FileCreateShortcut( @ProgramFilesDir & '\InstantSupport\InstantSupport.exe', @DesktopCommonDir & '\Uninstall Instant Support.lnk', "", "-removeservice" )

; Install VNC Service.
ShellExecute( @ProgramFilesDir & "\InstantSupport\InstantSupportVNC.exe", "-install" )

EndFunc
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
gunsmoke
40
40
Posts: 85
Joined: 2008-07-26 01:01

Re: Customize Chunk ??

Post by gunsmoke »

supercoe wrote:LINE 359 in SRC\InstantSupport.au3
Func InstallService()

; Copy files.
FileCopy( @ScriptDir & "\*.*", @ProgramFilesDir & "\InstantSupport\", 9 )

; Create uninstall link on All Users desktop.
FileCreateShortcut( @ProgramFilesDir & '\InstantSupport\InstantSupport.exe', @DesktopCommonDir & '\Uninstall Instant Support.lnk', "", "-removeservice" )

; Install VNC Service.
ShellExecute( @ProgramFilesDir & "\InstantSupport\InstantSupportVNC.exe", "-install" )

EndFunc


Thanks mate that should do it ;)


Is there any way to change the name of the file InstantSupprtVNC that tries to access the internet?

Also i think that when its installed as a service it creates a folder in programs called instant support, is there a way to change this name?


Thanks again ;)
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Customize Chunk ??

Post by supercoe »

InstantSupportVNC.exe is simply the UltraVNC Server (winvnc.exe) renamed.

Anything can be changed to your liking, just take a peak at the source code.
I prefer using the AutoIT editor SciTE but notepad++ works well also.

You'll find everything you're looking for in the SRC\InstantSupport.au3 file.
It's well commented and fairly short so finding what you're looking for will be as simple as doing a find and replace.
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
gunsmoke
40
40
Posts: 85
Joined: 2008-07-26 01:01

Re: Customize Chunk ??

Post by gunsmoke »

supercoe wrote:InstantSupportVNC.exe is simply the UltraVNC Server (winvnc.exe) renamed.

Anything can be changed to your liking, just take a peak at the source code.
I prefer using the AutoIT editor SciTE but notepad++ works well also.

You'll find everything you're looking for in the SRC\InstantSupport.au3 file.
It's well commented and fairly short so finding what you're looking for will be as simple as doing a find and replace.

Thanks for the reply ;)

I've been using autoit but i cant seem to get it to work.

I've tried using search/replace for words instantsupport ,instant support and instantsupportvnc but what ever i change i seem to run into problem with either the compiler just locking up when i press compile (wont even close) or if i do get it to work and install it as a service, when it comes to uninstalling it i get an error about it not being able to fine the instant support file/folder.


Can you let me know what lines in autoit i will need to change?


Thanks again :(
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Customize Chunk ??

Post by supercoe »

Many lines need to be changed but a simple solution is this:

Open SRC\InstantSupport.au3 and do a find replace for "InstantSupportVNC.exe" and name it "Whateveryouwant.exe"

I guess the question really is, why do you want to change the name of that file?
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
gunsmoke
40
40
Posts: 85
Joined: 2008-07-26 01:01

Re: Customize Chunk ??

Post by gunsmoke »

supercoe wrote:Many lines need to be changed but a simple solution is this:

Open SRC\InstantSupport.au3 and do a find replace for "InstantSupportVNC.exe" and name it "Whateveryouwant.exe"

I guess the question really is, why do you want to change the name of that file?

Thanks for the reply mate but that doesn't work.

When i try this I'm unable to run as a service and everything just seems to not run as it should.


Any other ideas ?
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Customize Chunk ??

Post by supercoe »

Sorry, I'd have to dive into it if that doesn't work and I simply don't have time to do that.

I still don't understand why you'd want to rename that executable?
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
gunsmoke
40
40
Posts: 85
Joined: 2008-07-26 01:01

Re: Customize Chunk ??

Post by gunsmoke »

supercoe wrote:Sorry, I'd have to dive into it if that doesn't work and I simply don't have time to do that.

I still don't understand why you'd want to rename that executable?
Ok thanks for all your help anyway mate ;)

Its a shame because i managed to get one of the old releases working how i wanted.






Does anyone know of an alternative software that i can customize how i want?
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Customize Chunk ??

Post by supercoe »

gunsmoke,

Sorry man, I'm getting so confused here I don't know what to tell you anymore....

Basically what it boils down to is if you want to change the software that much you need to have a good understanding of the source code.
Although I offer ChunkVNC as an open source project and encourage modifications I simply don't have the time to help others test every mod they are working on, I hope you understand.

It's a bummer that my simple trick of find and replace didn't work for you, I can't think off the top of my head why it wouldn't but I simply don't have time to test this type of thing.

If you had luck with an older release I don't understand why you wouldn't have luck with the latest as the layout of the code has not changed significantly.

My suggestion at this point would be to simply read the source code and comments as it's only a page worth if that.


I've asked you a few times now and haven't received an answer, why on earth would you want to change the name of that file in the first place? The name is irrelevant and unless you have a cosmetic reason I'd say leave it. :P


Good luck in your adventures of learning the code, sorry I can't be of more help. :surprise:
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
gunsmoke
40
40
Posts: 85
Joined: 2008-07-26 01:01

Re: Customize Chunk ??

Post by gunsmoke »

supercoe wrote:gunsmoke,

Sorry man, I'm getting so confused here I don't know what to tell you anymore....

Basically what it boils down to is if you want to change the software that much you need to have a good understanding of the source code.
Although I offer ChunkVNC as an open source project and encourage modifications I simply don't have the time to help others test every mod they are working on, I hope you understand.

It's a bummer that my simple trick of find and replace didn't work for you, I can't think off the top of my head why it wouldn't but I simply don't have time to test this type of thing.

If you had luck with an older release I don't understand why you wouldn't have luck with the latest as the layout of the code has not changed significantly.

My suggestion at this point would be to simply read the source code and comments as it's only a page worth if that.


I've asked you a few times now and haven't received an answer, why on earth would you want to change the name of that file in the first place? The name is irrelevant and unless you have a cosmetic reason I'd say leave it. :P


Good luck in your adventures of learning the code, sorry I can't be of more help. :surprise:




I usually change the names of the files to my name because I have a lot of people blocking it when their firewall pops up with a name they don't recognise, and as i don't know the configurations of every firewall its almost impossible for me to guide them through unblocking it again.


I've looked at the code and can work out why its not working.


Ill still send you some beer tokens ;)




If anyone knows of a similar software that i can configure how i want can you please met me know.


Thanks
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Customize Chunk ??

Post by supercoe »

Interesting as I thought most firewall software now went by what ports were being used not necesarrily the executable name.

Do you think it would be beneficial to change the executable name on every run? ie: InstantSupportVNC123456.exe ?

Thanks for the beer offer but I want to dedicate the little time I have to the next release, maybe if we can find a good solution I'll integrate it in... maybe at least an option to set the name easily with a variable. :)
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
Post Reply