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

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 about using a system search then setting the property depending on what it returns?
Answered 07/24/2008 by: kiptek
Second Degree Green Belt

Please log in to comment
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?
Answered 07/29/2008 by: TOBES_UK
Senior Purple Belt

Please log in to comment
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
Answered 07/29/2008 by: VBScab
Red Belt

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