Login to participate
Endpoint Management & Virtualization BlogsRSS

Packaging Java Versions

erikw's picture

Last week I was in Connecticut visiting a company that has several Connect members. I was invited to create a package with an Internet Explorer that needed a special Java version.

The image the customer used had Windows XP Service Pack 3 and Java version 1.5-15 installed for their application.

The customer wanted to upgrade the Java version to 1.6 because some applications needed that.

How I solved the problem:

  • I uninstalled the Java version 1.5-15 local installed.
  • Then I created an SVS package with that Java version.
  • Inside the package I created a folder named c:\program files\passport explorer. Inside that folder I copied the standard iexplorer.exe.
  • Then I created a desktop shortcut from that iexplorer with the site name in the shortcut target path.
  • Then I installed the new Java version locally on the system.
  • After starting the new application in the task bar the new Java version showed up.
  • Then I clicked the shortcut I created.

The application worked and it used the old java version it should use.

15 minutes of work and a very satisfied customer...

nethelpmsg's picture

I used your idea and it works

I used your idea and it works great.  But I don't want the address bar on the window that opens so that the user doesn't try to use it for anything else.  I found this script:

Dim objIE

Set objIE = WScript.CreateObject ("InternetExplorer.Application")

ObjIE.Toolbar = false

objIE.Navigate "http://www.savilltech.com"

objIE.Visible = true

here: http://windowsitpro.com/article/articleid/15297/how-can-i-start-internet-explorer-without-the-toolbars.html

Does anyone know how I can incorporate the two ideas?  Running iexplore.exe from the layer using this script. 

erikw's picture

open the shortcut in the

open the shortcut in the layer and start iexplore.exe -k
give the site you want in the parameters section.
that will do the job
 

Regards
Erik
www.DinamiQs.com
Dinamiqs is the home of VirtualStorm (www.virtualstorm.org)

erikw's picture

maybe this helps you also.

Or take a look at this site.
it explains more then only the script.

http://www.microsoft.com/technet/scriptcenter/resources/qanda/dec06/hey1213.mspx

Regards
Erik
www.DinamiQs.com
Dinamiqs is the home of VirtualStorm (www.virtualstorm.org)