VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 3 4 5 ... 12 Previous Next 177 Replies Last post: Nov 21, 2009 2:40 AM by Innuendo   Go to original post

Re: vsphere client on Windows 7 rc

30. May 27, 2009 1:17 PM in response to: oschistad
Click to view KamiCrazy's profile Novice 6 posts since
May 24, 2009
What environment are you using to package the vSphere client using ThinApp?

If the environment you are using already has the .Net Framework installed during the pre-scan then ThinApp is not going to package the needed System.dll required for vSphere to work under Windows 7 because it cannot detect that file has changed.

There are two approaches I would take with ThinApp.

1) After installation use the great workaround provided above. Place the required System.dll and modify the config file. Then modify your DEVPATH environment variable. Once you have made these customisations continue with post-scan in ThinApp and build the package. ThinApp should detect these changes and include them in the package.

2) Build the package on Windows without .Net. Proceed to install .Net after pre-scan so that it can detect the new system system files and include them during post-scan.

Re: vsphere client on Windows 7 rc

31. May 28, 2009 2:52 PM in response to: Tonym89
Click to view itsupportzagat's profile Novice 13 posts since
May 3, 2008

We decided to forego the whole batch file process and set a system variable for 7 x64:

DEVPATH C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Lib

Then it worked fine from launching from the vSphere Client icon.

Re: vsphere client on Windows 7 rc

32. May 28, 2009 11:47 PM in response to: ftubio
Click to view CA13's profile Lurker 2 posts since
May 28, 2009
Thank you for the workaround.. Using Virtual Win XPin 7 RC was my previous one.. and getting vSphere thin client to work there was much more work and useless obfuscation!

Re: vsphere client on Windows 7 rc

33. May 29, 2009 3:37 AM in response to: itsupportzagat
Click to view Tonym89's profile Novice 8 posts since
Feb 12, 2009

Your correct - I added the Dev path as a system variable and the original icon works without having to batch it out.

For anyone interested to know the 7137 build runs the vSphere client without the redraw slowness I experienced in the 7100 build, thought it was my video card initially.

(7137 build is not "officially" out by the way)


Re: vsphere client on Windows 7 rc

34. May 29, 2009 3:44 AM in response to: KamiCrazy
Click to view oschistad's profile Hot Shot 126 posts since
Jun 28, 2004

Actually I have to modify my previous statement; The RC version of the vSphere client has the client.xml issue when thinapped. But when I build the GA version, it actually crashes at launch when run from Windows 7.

I packaged the app from a WinXP SP3 box with only security hotfixes, and in the capture I did an install of .Net 3.5 (which contains all the older versions), J# (manually) and the vSphere client itself. The resulting package was around 1GB in size :)

The thinapp runs fine from windows XP but dies on launch in windows 7.

Re: vsphere client on Windows 7 rc

35. May 29, 2009 4:25 AM in response to: oschistad
Click to view Tonym89's profile Novice 8 posts since
Feb 12, 2009

apologies for asking what is probably obvious for most of you here, but when you say the "ThinApped" what is and how are you creating this? I am assuming its a packaged hosted app - am I correct in thinking that this would be used in integration mode in XPM under 7?

I simply use the solution posted here to run it natively under 7 x64

Tony

Re: vsphere client on Windows 7 rc

36. May 29, 2009 5:25 AM in response to: Tonym89
Click to view oschistad's profile Hot Shot 126 posts since
Jun 28, 2004

Well, ThinApp is the VMware product formerly known as ThinStall, which is an application virtualization solution. It does not rely on a virtual machine to run the apps, but instead isolates the application from the underlying OS and presents a virtual filesystem and API to the code running inside. It uses a sandboxing mechanism similar to that found in java, but not quite the same thing.

Of course I could just install the vSphere client locally and be done with it, but packaging it as a thin application makes it portable and install-less, and allows it to run on any windows PC as long as I have the binaries on disk somewhere. Except, as it turns out, on Windows 7 :)


Re: vsphere client on Windows 7 rc

37. May 29, 2009 6:51 AM in response to: oschistad
Click to view Tonym89's profile Novice 8 posts since
Feb 12, 2009

That is awesome!, I am way to new to have not to have known about that. I have fully migrated our ESX Hosts and Management infrastructure over to ESX4 / vSphere and something like this would be IDEAL for some of our canned applications for remote users

Researching this now

HUGE THANKS

Re: vsphere client on Windows 7 rc

38. May 29, 2009 6:54 AM in response to: Tonym89
Click to view oschistad's profile Hot Shot 126 posts since
Jun 28, 2004
Glad to have been of service - I am a big fan of the technology myself ;)

Re: vsphere client on Windows 7 rc

39. May 29, 2009 8:05 AM in response to: oschistad
Click to view kdonofrio's profile Novice 7 posts since
Oct 22, 2008
i am unable to get mine working. It is on win7 32 bit. I get the following errors. I have attached them.
Attachments:

Re: vsphere client on Windows 7 rc

40. May 29, 2009 8:41 AM in response to: kdonofrio
Click to view Tonym89's profile Novice 8 posts since
Feb 12, 2009
you need to edit the VpxClient.exe.config file

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.net>
<connectionManagement>
<clear/>
<add address="*" maxconnection="8" />
</connectionManagement>
</system.net>
<appSettings>
<add key = "protocolports" value = "https:443"/>
</appSettings>
<runtime>
<developmentMode developerInstallation="true"/>
</runtime>
</configuration>

Also insure that you have the .Net "system.dll" from a Non Win7 machine

I have attached both my config and the dll file in a zip file here

Place the config file in your C:\Program Files\Vmware\Infrastructure\Virtual Infrastructure Client\Launcher folder

Create a new folder called Lib in the folder noted above and place the dll file in this

Edit your system properties and create a new 'Environment Variable" Name it "Devpath" with the value of C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib

Reboot and you should be good to go

Attachments:

Re: vsphere client on Windows 7 rc

41. May 29, 2009 11:14 AM in response to: Tonym89
Click to view kdonofrio's profile Novice 7 posts since
Oct 22, 2008
Tony - Thank you very much! This worked out perfectly! I originally had the launcher folder in another location, having vc2.5 installed. I removed all other stuff, reinstalled vsphere client, and then followed your instructions. Works perfect! Thank you again

Re: vsphere client on Windows 7 rc

42. May 29, 2009 11:34 AM in response to: kdonofrio
Click to view Tonym89's profile Novice 8 posts since
Feb 12, 2009

Like the others before me who helped me, I am glad that I could help you


Re: vsphere client on Windows 7 rc

43. May 29, 2009 6:15 PM in response to: Tonym89
Click to view brosy's profile Novice 5 posts since
Jul 13, 2006
Just a note, no reboot required (tested on Windows 7 x64 build 7100)

Re: vsphere client on Windows 7 rc

44. Jun 1, 2009 12:21 AM in response to: brosy
Click to view degustator's profile Enthusiast 65 posts since
Nov 29, 2005

This trick with dll and config file works like a charm. Thanks Fernando!

But does somebody have any idea on how to allow it run non-elevated?

(hope I don't desire way too much...)

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities