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

Way to wrap winvnc.exe CL options in another executable?

Single Click discussions / bugs
Post Reply
mkipness
8
8
Posts: 10
Joined: 2005-12-15 17:00

Way to wrap winvnc.exe CL options in another executable?

Post by mkipness »

Hello -

I currently use SC from a web page with a list of connections and it works great. However, I would like to replace the link to the support.exe on the web page, with individual links that point directly to various tech support links instead. I'd like to use winvnc.exe with the following command line options for each link:

winvnc.exe -connect 123.123.123.123::5900 -noregistry

Is there any way (or tool) that I could use to create an executable that wraps winvnc.exe with the appropriate command line options. That way I can create several links on the web page, and each simply points to a winvnc.exe file. I've thought of using some type of installer like Inno or NSIS that would create a self extracting install that was silent that places winvnc.exe and a batch file in a temp dir, and then runs the batch file, but I don't know if that would work.

Any suggestions? I know that you can use SC with one host, but I don't like how the SC app appears for a brief second.

Thanks,
Max
Guest

Post by Guest »

I would like to know if something like this is possible as well.
woodenpickle
Posts: 1
Joined: 2005-12-15 22:32

Way to wrap winvnc.exe CL options in another executable?

Post by woodenpickle »

I haven't tried this yet, but I'm planning to soon.. Here's my theory:

The SC executable that is created on the sc.uvnc.com page is merely a self-extracting 7zip archive. If you open it up with 7zip (or WinRAR or whatever..) you'll see all your files that you uploaded in the custom.zip file you created. You could theoretically write some PHP code (or ASP or whatever you like) that would, depending on the link clicked, rebuild that sfx 7zip archive just like sc.uvnc.com does for you and it should work just the same. I think they also use some sort of compression (upx or something) cause my repacks were bigger than the original.

You can also download a set of batch files that supposedly creates a more custom SC exe for you on this page (I don't know a lot about this one yet): [topic=3347][/topic]

Anyway, hope any of this helps some.. If I get around to trying it out in the next day or two, I'll post my findings here..
mkipness
8
8
Posts: 10
Joined: 2005-12-15 17:00

Post by mkipness »

Well, I was able to do what I was looking for, although I guess it didn't turn out as good as I expected.

I was able to use Winrar to create an SFX executable, that just included winvnc.exe. You can make winrar run the execuable with the command line option to do the reverse connection, etc. You can also specify hidden, so that when you click on the executable, nothing shows up period. It's basically like running winvnc.exe from the command line with options, and it appears just as fast to the naked eye. I even changed the icon on the executable.

Here are the problems:

1) User doesn't get any confirmation that you've connected. Just a slight blink of the screen.

2) User has no way of disconnecting you or knowing when you disconnected.

3) I kind of like the new option of SC/The viewer where you get prompted to allow reverse connections, rather than them just popping up on the screen.

4) This pertains to both SC and the Winrar wrapped system I just created. It's the issue with not being able to reboot the system and autoconnect without user intervention. Or simply logout and log back in as administrator. This is the biggest pain.

I guess for some of these issues I could use a compiled PHP script. I'll have to work with it and see.

If anybody wants to know how to create the "SC like" exe with Winrar, let me know.

Thanks,
Max
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

ready to use open source
[topic=4517][/topic]
+
SCPROMPT2
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Post Reply