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

ChunkVNC.exe not being deleted - solution

Simple, Free, Open Source UltraVNC Wrapper Supporting Windows and Mac OSX
Post Reply
JonD
40
40
Posts: 121
Joined: 2006-12-24 16:46
Location: Canada

ChunkVNC.exe not being deleted - solution

Post by JonD »

I want to make it clear that the following "solution" is simply because I modified the original code... so I had to "fix" my "fix" :-)

Some time ago I did Rat's mod to do a more cautious delete of the various files. I just noted that when ChunkVNC is called to delete the service it cannot delete itself so uninstalling the service typically seems to leave ChunkVNC.exe behind.

I solved the issue by creating an uninstall .bat on the desktop (instead of using a link to ChunkVNC..exe). The .bat file calls ChunkVNC and when ChunkVNC exits, the .bat deletes ChunkVNC.exe and associated directories as well as itself.

There may be other solutions but that's how I did it.

JonD
Last edited by JonD on 2010-10-25 21:52, edited 2 times in total.
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: ChunkVNC.exe not being deleted - solution

Post by supercoe »

I don't understand, you're talking about fixing a problem that you created?

All of the files get deleted correctly in a similar way already with the stock 3.1.

The deletion issue only occurs when curious people run an executable before understanding what it does. :surprise:

I've removed the need for the separate deletion script in my soon to be released 3.2. I've also kept a finer eye on how someone could get into trouble by not following the instructions. :P
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
JonD
40
40
Posts: 121
Joined: 2006-12-24 16:46
Location: Canada

Re: ChunkVNC.exe not being deleted - solution

Post by JonD »

Yup that's it :-)

I used Rat's file delete code (and others may have also). If I hadn't checked I wouldn't have noticed the issue. so thought I'd mention a solution that worked around the work around :-)

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

Re: ChunkVNC.exe not being deleted - solution

Post by supercoe »

Roger that. :D
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
Post Reply