Hi there

I have used Wise Package Studio 6 to create an MST to install Java Runtime 5 Update 6 MSI. I did have a problem installing using a locked down account as part of the Java MSI uses custom actions to "unzip" some files to C:\Program Files\Java\jre15.0.06\ which I got around by adding full control access to that folder via the LockPermissions table.

However when it runs the custom action to run an update EXE to the same folder I get the following error:

"Java Update cannot be installed on this machine
because the directory your have chosen is locked. Please close any browsers or
applications that are using the directory you chose for installation"

I have searched using Google but not found anything that might help.

Has anyone had the same problem and resolved it?

I am specifically not installing as local admin as it needs to be installed in a locked down environment.

Thanks
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
How are you installing java on the clients then? Are the users themselves installing it, or are you distributing it from Active Directory/SMS/Altiris/etc? If you distribute it, then it should be installed with local system/admin privileges, and problem would be solved.

I have deployed Java 1.5 myself, but have never run into this problem. I have deployed in both CA Unicenter Software Delivery (to thick clients) and Citrix Installation Manager without a problem, doing the same as you (created mst).
As for the specific error message, I haven't heard of that one before, sorry.
Answered 06/28/2006 by: sikkert
Orange Senior Belt

Please log in to comment
0
Orionuk:

Are you sure that Update.exe which is executed by JRE is accessing the same folder? If you are I would then sugggest that you should cacles/subinacles to grant access/change rights to the said folder, once done this problem would vanish. Just include/call cacles/subinacles from the installation and then pass this line in the parameter:

xcacls c:\program files\java\*.* /G administrator:F /E

The "administrator" (this can be any group) is a group for whom full access rights have been granted on c:\program files\java\

Solution 2:
Try not to have install file in a sub-folder where the jre is getting installed.

Solution 3:
Switch/disable any google or yahoo toolbars or google desktop search.

Lastly I would agree with sikkert that if you deploy this using any deployment tools then this problem would hardly turn up since the installation is installation is installed via system access.

Try using the above in case doesn't work in your scenario. revert back.
Answered 06/29/2006 by: wiseapp
Second Degree Green Belt

Please log in to comment
0
Hi orionuk,
You do two things here, which have to lead to problems!
First: Don't use one of the Big Fat MSI-Editors only to generate an MST. They almost always add more things (tables, properties etc.) than you like. Most of the time, an MST has some new or changed properties or table rows. This is done best with ORCA.
Second: Hands off the 'LockPermission table'! It almost always removes all the existing permissions and inheritance from the altered object.
I have generated MST's for all the JRE-versions since 1.4.0 and had never any problems with permissions.
Regards, Nick


ORIGINAL: orionuk

Hi there

I have used Wise Package Studio 6 to create an MST to install Java Runtime 5 Update 6 MSI. I did have a problem installing using a locked down account as part of the Java MSI uses custom actions to "unzip" some files to C:\Program Files\Java\jre15.0.06\ which I got around by adding full control access to that folder via the LockPermissions table.

However when it runs the custom action to run an update EXE to the same folder I get the following error:

"Java Update cannot be installed on this machine
because the directory your have chosen is locked. Please close any browsers or
applications that are using the directory you chose for installation"

I have searched using Google but not found anything that might help.

Has anyone had the same problem and resolved it?

I am specifically not installing as local admin as it needs to be installed in a locked down environment.

Thanks


Answered 06/29/2006 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
The problem is not with your deployment or permissions, etc. Chances are if you try installing manually on those workstations you will receive the same message. It seems that JRE 5 update 6 has a problem. I am experiencing the same problem on a stand alone machine where I have admin priviliges. Do you have IE 7 installed?
Answered 07/27/2006 by: hotarobin
Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity