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

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
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
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.
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?
Ok thanks for all your help anyway matesupercoe 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?
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.
Good luck in your adventures of learning the code, sorry I can't be of more help.