You are here

UltraVNC viewer Portable

60 posts / 0 new
Last post
Machete
Offline
Last seen: 1 year 6 months ago
Joined: 2005-12-21 15:32
UltraVNC viewer Portable

I had been thinking of making a launcher for this for some time. Then, just this past weekend, it finally sunk in - uvnc is GPL! So, I modified the source to the vncviewer app, so it is now portable (I originally implemented a "-portable" parameter, which is still available below).

Download the latest version here, here, or here (courtesy of Ryan McCue and his site, cubegames.net)

(This installer also includes the full source, 7-zipped, in "Other/UltraVNCViewer Portable Source")

What it does thus far:
- bypasses the code that associates itself with .vnc files
- bypasses the code that registers various vnc sound events
- disables the mru (finally decided "who needs a MRU w/o the registry when files work just as well")
- removed the "save as default" option - you can create the .vnc file from the system menu when you connect to the VNC server.

I'm still trying to decide if/how I should implement a portable-ized MRU, and whether to start this as its own project on sourceforge or just submit it as a patch to uvnc.

Any suggestions in this regard would still be appreciated.

The following links have the original version with the "-portable" switch:

Ryan McCue's links: binary source
The Lurking_Biohazard's links: binary source

Thanks Ryan and L_B for the mirrors! I couldn't have done it without your help!

Edit 15 Sept 2008: I noticed the UltraVNC team has released 1.0.5 stable, so I'm gonna start working on it this week.

Edit 1 Oct 2008: I've built the uvncviewerportable app, it can be downloaded here and here.

Bruce Pascoe
Offline
Last seen: 12 years 10 months ago
Joined: 2006-01-15 16:14
...

Disabling the MRU is wise. If you're using the app across computers and the drive letter of your device changes between those systems, the absolute paths stored in the MRU lists will be useless. MRU lists, by their very nature, are not very portable.

-
fatcerberus@yahoo.com  [aim: fatcerberus]
I have no witty remarks or quotes to share at the moment.

Machete
Offline
Last seen: 1 year 6 months ago
Joined: 2005-12-21 15:32
That's kinda what I thought, too...

So, I guess I'll just leave the MRU disabled. Do you think it'd be better for me to submit the changes as a patch to UVNC or just host it as a separate sf.net project?

Ashes for Tears
Offline
Last seen: 17 years 1 month ago
Joined: 2006-01-11 08:41
I'll be stealing...

An expession here, ;). Just my 2 cents: Some people do have permanent machines they log in from, so I think having an MRU, etc. is a good thing (that is, if you can lock people out like I do :D). IMHO a seperate project sounds good. On the other hand, if you do decide to make the MRU otional in your current build, and maybe a few of the other settings, it would be a good idea to offer it as patch.

------

Bruce Pascoe
Offline
Last seen: 12 years 10 months ago
Joined: 2006-01-15 16:14
...

He added a switch called "-portable," of which one of things it does is disables the MRU. Chances are, if you only intend to use the application from one computer, you're not going to use the -portable switch if the application runs just fine off the USB key already. His -portable switch is just to make it portable-friendly. By their nature, MRUs aren't very portable-friendly.

-
fatcerberus@yahoo.com  [aim: fatcerberus]
I have no witty remarks or quotes to share at the moment.

Ashes for Tears
Offline
Last seen: 17 years 1 month ago
Joined: 2006-01-11 08:41
Was a little out of it

Heh, sorry Bruce, I was a little groggy. Anyhow, It all sounds good.

------

OliverK
OliverK's picture
Offline
Last seen: 3 years 5 months ago
Developer
Joined: 2007-03-27 15:21
Friendly bit of advice....

I put an un hidden email up on a message board a couple of times- and got a bunch nigerian 419 scams. Suggestion: camoflague your email- like myemailloginemailhostercom
Panic, Mayhem, and Destruction- My work here is done.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

Machete
Offline
Last seen: 1 year 6 months ago
Joined: 2005-12-21 15:32
Well...

by default, it loads the MRU into the registry, which is something I'd like to avoid. I was toying with the idea of a separate "vncviewer.mru" file just for the MRU, it is kinda catch-22: the MRU file is nice, but working out the relative paths in it could get tricky; but the options.vnc file is just a normal .vnc file with the last saved settings, including vnc server address, you could just load separate .vnc files, as well.

If you want, I could create a switch to enable JUST the registry MRU, maybe call it "-MRU_ONLY" or "-semi-portable", and have it just disable the file association and the sound event, but leave the MRU in registry?

edit: Dang! Can't spell tonight!

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 1 month ago
Joined: 2006-01-06 21:27
'my two cents...'

Gotta keep saving Wink
----
R McCue

"If you're not part of the solution, you're part of the precipitate."

The MAZZTer
The MAZZTer's picture
Offline
Last seen: 1 year 10 months ago
Developer
Joined: 2006-11-17 15:31
Not useless

The MRU consists of IP addresses/hostnames. Wouldn't be useless if they are internet addresses. So it's worth keeping the MRU in.

Signature automatically removed for being too awesome.

Machete
Offline
Last seen: 1 year 6 months ago
Joined: 2005-12-21 15:32
Actually the MRU consists of more than that

It is nearly the entire .vnc file, stored in the Windows registry. That's why I haven't implemented one yet.

I've been thinking of creating a .ini-type file, with a similar structure to the .vnc files (since that's what actually gets stored), to implement the MRU. However, this would occupy just as much space on the disk as having separate .vnc files for each connection, with the only benefit of it being in just one file instead of many.

As I said earlier, though, I'm still open to suggestions on this topic, as I'm not totally against it. I've just been creating .vnc files for the connections I commonly use, myself. If I can find a better way to do this, I'll definitely add it to the next release.

R-Rizzo
Offline
Last seen: 16 years 9 months ago
Joined: 2006-04-20 08:05
I am very interested and was

I am very interested and was wondering if you had posted this? I have been using UltraVNC and I love it...

Thanx,

Rob

Machete
Offline
Last seen: 1 year 6 months ago
Joined: 2005-12-21 15:32
Sorry it took so long. I've uploaded a pre-compiled/upx'd copy.

here.

Let me know how it works, and remember: to get the portable vncviewer, run "vncviewer.exe -portable", otherwise you'll get several hits to the registry.

dildano
Offline
Last seen: 14 years 2 months ago
Joined: 2006-08-05 11:39
UltraVNC 1.0.2?

Your portable version works great! Any chance we'll see a portable version of UltraVNC 1.0.2 that came out on July 1st?

Thanks!

Machete
Offline
Last seen: 1 year 6 months ago
Joined: 2005-12-21 15:32
I'll look into it.

If it offers any real kind of enhancements, I'll do it. Otherwise, I'll just wait until the next major release.

edit: security fixes + better compatibility == new portableUVNC. I'm on it.

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 1 month ago
Joined: 2006-01-06 21:27
This is great

Thanks heaps.
Is UltraVNC licensed under the GPL, cause you will need to release the source.
I can host it on my site if you want, send me an email at cubegames[at]gmail.com (I don't care about spam anymore. They all already have me Wink )
----
R McCue
PortaBlog Home and My Website
And before anyone complains about the grammar, I'm so jetlagged that my
hands aren't even in the same time zone...

"If you're not part of the solution, you're part of the precipitate."

Machete
Offline
Last seen: 1 year 6 months ago
Joined: 2005-12-21 15:32
I really appreciate it.

Yes, UltraVNC is GPL'd, and, once I finish my modifications, my source will be, too. Looks like it may be a while, though - they've changed some of the source structure, and I can't find the version of my source that included the "-portable" switch.

Don't worry though, I'm still working on it, it'll just take a little longer than I hoped it would.

edit: Well, that went quicker than I thought! It's all ready: a pre-compiled, pre-upx'd binary with a zipped source ready for upload.

Machete
Offline
Last seen: 1 year 6 months ago
Joined: 2005-12-21 15:32
Until this portable UltraVNC

Until this portable UltraVNC viewer has a more permanent home, here are rapidshare links for the viewer binary, and the modified source.

Just run with the "-portable" or "/portable" command-line switch to activate my changes. Otherwise, it acts like normal.

vbap
Offline
Last seen: 7 years 7 months ago
Joined: 2006-08-28 02:28
Hi Machete, Your link at

Hi Machete,
Your link at rapidshare no longer works (exceeded download limit!)
Have you managed to get the UltraVNC authors to host it / incorporate it?

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 1 month ago
Joined: 2006-01-06 21:27
You didn't reply to my email!

I can host it for you.
I'll upload it now.
It also has a download tracker, so if you want, I can tell you the amount of downloads.
Edit: Try http://rmccue.stsolutions.us/downloads/vncviewer.exe and http://rmccue.stsolutions.us/downloads/UltraVNC-102-src-portableapps.com_edition.zip.
----
R McCue
PortaBlog Home and My Website
And before anyone complains about the grammar, I'm so jetlagged that my
hands aren't even in the same time zone...

"If you're not part of the solution, you're part of the precipitate."

Lurking_Biohazard
Lurking_Biohazard's picture
Offline
Last seen: 6 years 2 months ago
Joined: 2006-02-18 18:06
Mirror

EXE or ZIP
~Lurk~

~Lurk~

Machete
Offline
Last seen: 1 year 6 months ago
Joined: 2005-12-21 15:32
Sorry about that! I've been

Sorry about that! I've been kept kinda busy with school and RL. Looks like the download links are working, and md5sum's check out!

Thanks for hosting this, and again, I'm sorry I didn't reply!

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 1 month ago
Joined: 2006-01-06 21:27
That's OK

I myself am caught up with school work and stupid lilina. People wanting features that MagpieRSS doesn't support, so I can't fix. *humph*
----
R McCue
PortaBlog Home and My Website
And before anyone complains about the grammar, I'm so jetlagged that my
hands aren't even in the same time zone...

"If you're not part of the solution, you're part of the precipitate."

pardonme
Offline
Last seen: 9 years 9 months ago
Joined: 2006-01-01 19:45
Thanks for that portable

Thanks for that portable viewer,
searched a long time for that.
Thanks Smile

semifamous
Offline
Last seen: 18 years 1 month ago
Joined: 2006-10-23 22:30
Package for U3?

I don't know much about how this would work, but would someone want to take this, package it for U3 and list it on their site? This would be an awesome addition to my U3 drive, and I don't know enough about it to do it myself.

Zach Thibeau
Zach Thibeau's picture
Offline
Last seen: 2 years 1 month ago
Developer
Joined: 2006-05-26 12:08
I did

I did I can send the file to you too if you want the location is ultra vnc viewer u3

your friendly neighbourhood moderator Zach Thibeau

semifamous
Offline
Last seen: 18 years 1 month ago
Joined: 2006-10-23 22:30
The doesn't appear to be

The doesn't appear to be doing the right thing. It's not running with the /portable switch like it should, so it's actually using the registry when it shouldn't.

I fixed it:
<appStart cmd="%U3_APP_DATA_PATH%\vncviewer.exe"> -portable</appStart>

Much better. Thanks!

Zach Thibeau
Zach Thibeau's picture
Offline
Last seen: 2 years 1 month ago
Developer
Joined: 2006-05-26 12:08
Your Very...

Your most certainly welcome. I hope you enjoy this and yeah the registry being used that would be packagefactorys fault. I should no better than use that program. Better to do it by hand

your friendly neighbourhood moderator Zach Thibeau

callit
Offline
Last seen: 16 years 1 month ago
Joined: 2006-02-11 00:02
Excellent

Excellent work. I've been using UVNC with the registry wrapper hack posted a while back for some time now. This will be much friendlier. Thanks for the work!

mattice06082
Offline
Last seen: 16 years 7 months ago
Joined: 2006-11-30 12:51
File Transfer

Note that if you wish to transfer files, you'll also need to include zip32.dll, unzip32.dll on your flash drive. See the UltraVNC forum.

BenG
Offline
Last seen: 16 years 5 months ago
Joined: 2007-01-05 11:09
Hi, is this still on going?

Hi,
is this still on going? the link for the file doesn't work anymore.
I would be interested too. So far UltraVNC is installed on my usb with registry setting deleted from registry and it seems to work fine...
Thanks, I'll be on the lookout !

Machete
Offline
Last seen: 1 year 6 months ago
Joined: 2005-12-21 15:32
Yep, still ongoing, just

Yep, still ongoing, just waiting for the 1.0.3 viewer release, so I can make it portable. I tried the same method, at first, and noticed while perusing my registry that there were still several registry settings there. Upon inspecting the source, I realized that I could change that without loosing any functionality (except for the MRU, you'll notice).

Keep watching, I'll make sure to update (AND include the zip/unzip .dll's) when the next version's out.

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 1 month ago
Joined: 2006-01-06 21:27
Oops

Change the links to
http://portable.cubegames.net/UltraVNC-102-src-portableapps.com_edition.zip
http://portable.cubegames.net/vncviewer.exe
----
Ryan McCue
Person 1: Oh my god. You will never believe what just happened.
Person 2: What?
Person 1: I can't remember, I've forgotten.

"If you're not part of the solution, you're part of the precipitate."

Machete
Offline
Last seen: 1 year 6 months ago
Joined: 2005-12-21 15:32
Thanks for the update, Ryan!

Just fixed the links in my first post.

vbap
Offline
Last seen: 7 years 7 months ago
Joined: 2006-08-28 02:28
So how do i...

run vncviewer.exe -portable from PAM?

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 1 month ago
Joined: 2006-01-06 21:27
You can't

You can't yet.
----
Ryan McCue
Person 1: Oh my god. You will never believe what just happened.
Person 2: What?
Person 1: I can't remember, I've forgotten.

"If you're not part of the solution, you're part of the precipitate."

Machete
Offline
Last seen: 1 year 6 months ago
Joined: 2005-12-21 15:32
Sounds like making a

Sounds like making a portable-only vncviewer might be a good idea after all. Gimme a few days (probably more like a week, gotta rebuild my PC and a friend's), I'll get right on it. A version that don't need the -portable parameter. Maybe I'll change the target output filename to pvncviewer.exe?

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 1 month ago
Joined: 2006-01-06 21:27
You could also

Use the PAF setup, like App\VNC\vncviewer.exe and VNCViewerPortable.exe
----
Ryan McCue
Person 1: Oh my god. You will never believe what just happened.
Person 2: What?
Person 1: I can't remember, I've forgotten.

"If you're not part of the solution, you're part of the precipitate."

Machete
Offline
Last seen: 1 year 6 months ago
Joined: 2005-12-21 15:32
I might just do that, but

I might just do that, but make an App\VncViewerPortable.exe, using the PAF setup. I'll also have to grab the source files that correspond JUST to the viewer app itself, and include that as an option. Guess it'll keep me busy until the next vncviewer version.

vbap
Offline
Last seen: 7 years 7 months ago
Joined: 2006-08-28 02:28
Thanks...

Thanks (in advance) for your efforts Machete!

R-Rizzo
Offline
Last seen: 16 years 9 months ago
Joined: 2006-04-20 08:05
I was just wondering if you

I was just wondering if you had had a chance to make a PAF version of this?

Machete
Offline
Last seen: 1 year 6 months ago
Joined: 2005-12-21 15:32
Not yet. I've recently

Not yet. I've recently upgraded hardware, replaced a dead drive, and had to reinstall windows as a result. Add to that friends, neighbors, etc keep coming to me with their virus/malware-ridden computers for me to "fix". Finally, I'm still in school, which is also taking up the remainder of what time I have.

I still plan to get it done, but it may take a while at this rate.

Machete
Offline
Last seen: 1 year 6 months ago
Joined: 2005-12-21 15:32
Repackaging and PAF compliance nearly complete!

The source has been cleaned up slightly, mostly removing the need for the "-portable" parameter, and permanent removal of the MRU, and cleaning up the initial dialog a bit.

All that's left now is to make the launcher (a simple NSI script to locate and run the executable, maybe a splash screen), and create the .paf.exe installer.

With any luck, I'll have the launcher and installer ready tomorrow or Monday evening!

Machete
Offline
Last seen: 1 year 6 months ago
Joined: 2005-12-21 15:32
Finished (I hope)!

Finished (I hope)!

I've updated the first post, and included a download link here and here.

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 1 month ago
Joined: 2006-01-06 21:27
Uploaded

http://cubegames.net/downloads/UltraVNCViewer_Portable_1.1.0.2_en-us.paf...
----
Ryan McCue.
Blog.
So all that Airbus-delay trouble over here in Europe is because of YOU!
Simeon.

"If you're not part of the solution, you're part of the precipitate."

Machete
Offline
Last seen: 1 year 6 months ago
Joined: 2005-12-21 15:32
Updated the topic

Thanks again, Ryan, I really appreciate it!

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 1 month ago
Joined: 2006-01-06 21:27
That's OK

I'm always ready to help someone out. Smile
----
Ryan McCue.
Blog.
So all that Airbus-delay trouble over here in Europe is because of YOU!
Simeon.

"If you're not part of the solution, you're part of the precipitate."

RustyMuppet
RustyMuppet's picture
Offline
Last seen: 10 years 6 months ago
Joined: 2007-03-02 05:44
Hosts ...

Is there any way to allow it to remember the host IP addresses? I guess the original used the registry to do this.

Machete
Offline
Last seen: 1 year 6 months ago
Joined: 2005-12-21 15:32
Yes. The original used an MRU in the registry.

With this version, you can create a .vnc file after establishing the connection by clicking the "system menu" (the icon at the top-left corner of the window), and selecting "Save connection info as..." (or press Ctrl-Alt-F5). Next time you start the viewer, click the "..." button and load the file.

Originally the "Save connection settings as default" created a "options.vnc" file in the %temp% folder, but it never got reloaded automatically, so I figured "if it doesn't really do what it looks like it says, why have it there?"

Perhaps I'll eventually put it back in, and have it actually load it at startup (if it's either in the Data directory or in the App directory), but the uvnc crew say another version's on the horizon, so I'll wait until that's been released first.

RustyMuppet
RustyMuppet's picture
Offline
Last seen: 10 years 6 months ago
Joined: 2007-03-02 05:44
thanks

thanks

Uberduke
Offline
Last seen: 17 years 6 months ago
Joined: 2007-05-02 11:46
DSM plug-in with portable UltraVNC

First of all, thank you very much for the work you've put into making UltraVNC work with PortableApps.

I do have one issue though and was wondering if you had ever looked into this. I use UltraVNC with the DSM encryption plug-in (NoReg setting) and the plug-in still wants to see the RC4.key file in the local machine's C:\Program Files\ORL\VNC directory. Is this something that can be easily corrected?

Any assistance would be greatly appreciated and thanks once again for all your
great work on this.

Duke

Machete
Offline
Last seen: 1 year 6 months ago
Joined: 2005-12-21 15:32
I could try. Which plugin/.dsm file exactly is it?

There are at least 3 that I know of that have been written for uvnc. If it's the one I'm thinking it sounds like, I'll try, but otherwise it'll depend on the license, etc.

Uberduke
Offline
Last seen: 17 years 6 months ago
Joined: 2007-05-02 11:46
DSM plug-in with portable UltraVNC

Thanks for looking into this.

It's the MSRC4Plugin v1.1.8 - Win32 - 6/3/2005 DSM plug-in. I believe it was the one packaged with UltraVNC.

Machete
Offline
Last seen: 1 year 6 months ago
Joined: 2005-12-21 15:32
Upgrade your plugin, and put both the .dsm and the .key files in

App\UltraVNCViewer. Latest version is 1.2.2, and can be found here.

Starting with versions 1.2.0 (that I'm aware of, might have started with an earlier version), it checks an environment variable (%msrc4pluginkey%), the folder where uvnc viewer is located, then the current directory looking for the .key file before it tries %programfiles%\UltraVNC & %programfiles%\ORL\VNC.

It seems the author has been trying to make his plugin more *ahem* portable.

Uberduke
Offline
Last seen: 17 years 6 months ago
Joined: 2007-05-02 11:46
DSM plug-in with portable UltraVNC

Thanks so much again, Machete. Many thanks also, to the DSM author for the effort toward 'portability.'

Duke

Machete
Offline
Last seen: 1 year 6 months ago
Joined: 2005-12-21 15:32
Anytime. Just glad I didn't have to weed through his older code

Wink

hoskme
Offline
Last seen: 17 years 6 months ago
Joined: 2007-05-10 16:53
UltraVNC Portable authentication

Thanks very much for doing this port. I hope to use it with authentication, but it does not seem to work for that. I tried ultravnc installed version and it worked fine, but the portable version does not provide an authentication window and just times out when I try to reach the server. Any help for this? Am I doing something wrong? The server is TightVNC running on an XP machine. It is set for password authentication.

Thanks

Mike

Machete
Offline
Last seen: 1 year 6 months ago
Joined: 2005-12-21 15:32
I've not used it with TightVNC server, myself,

but the authentication mechanism wasn't changed. Are you loading a .vnc file, or typing in the connection information manually? And, are you loading/typing the same file/information in the installed version?

edit: It's been nearly four days, Mike, don't leave me hanging! Are you still having this problem? Please, if you are still having problems connecting with uvncviewer portable, please post with the following information:

- Whether or not the server is using an encryption plugin (a .dsm file, typically)
- Whether or not the uvnc viewer portable is using the SAME plugin (save version, especially)
- Whether or not you're loading a .vnc file, or manually typing the info (just to eliminate the possibility of typos)

Machete
Offline
Last seen: 1 year 6 months ago
Joined: 2005-12-21 15:32
Re: UltraVNC Portable authentication

It's been over a week since you posted, without any follow-up, nor answers to my questions. I genuinely want to help, especially if your problem is caused by the changes I made to uvnc viewer, but if you don't respond with more information than just this, it's not enough to go on.

If you haven't posted anything by midnight MDT (GMT-7) Saturday morning, I'll consider this matter closed, and will simply wait until the next uvnc revision to release the next uvncviewer portable.

Machete
Offline
Last seen: 1 year 6 months ago
Joined: 2005-12-21 15:32
YAHOO!!! Looks like the next official UVNC will be PORTABLE!

Both the server AND the viewer! Look here, about halfway down the page. They're storing all the settings in a .ini file in the same directory as the executable.
Edit: Seems I spoke too soon, the server's the one with the .ini file, NOT the viewer (yet).

If you all would like, I can still create a simple PAF-compliant launcher for it, but it should work as-is with PAM.
If the new vncviewer isn't portable, I'll still release a new uvncviewer portable, otherwise, I'll probably still make a PAF-compliant launcher.

Topic locked