/build/static/layout/Breadcrumb_cap_w.png

Java Runtime Environment

Hi, I need to amend the vendor .msi (J2SE Runtime Environment 5.0) via .mst to perform the below tasks and wondered if anyone could give advice on the best method.

If any [HKLM]Software\JavaSoft\Java Pug-in\[prev installed versions] have a key set to 1 for IE then the new install sets itself to 1.
If all other [HKLM]Software\JavaSoft\Java Pug-in\[prev installed versions] are set to 0 for IE then the new install sets itself to 0.

The vendor .msi currently sets the above key by a property (IEXPLORER).

I'm thinking of VBS via CA but to avoid reworks of this package for newly delivered version of Java it would need to be generic.

Cheers in advance :)

0 Comments   [ + ] Show comments

Answers (3)

Posted by: kiptek 16 years ago
Second Degree Green Belt
0
How about using a system search then setting the property depending on what it returns?
Posted by: TOBES_UK 16 years ago
Senior Purple Belt
0
ORIGINAL: kiptek

How about using a system search then setting the property depending on what it returns?


Thanks kiptek, System search is an option but would'nt this be dependant on naming the location in the reg which are version specific keys. I would really like to provide a solution for future versions of Java without having to update this package each time.

Anyone give me any info on some .vbs that could be added as a Custom Action?
Posted by: anonymous_9363 16 years ago
Red Belt
0
A Custom Action is the only way. Any SS would, as you say, have to check each version's registry key/value.

Anyone give me any info on some .vbs that could be added as a Custom Action?I haven't looked but the usual places might be a rich source: http://cwashington.netreach.net, http://www.computerperformance.co.uk
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ