cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

Installation Requirement for Registry key

Hello,

My project is based on the BasicMSI Installshield project. I need to add intallation requirement for J# redistributable, i.e. J# must be installed on the computer in advance. Following registry key is created on the computer when J# redistributable is installed

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Visual JSharp Setup

Hense I added new custom SW condition:
What to find: Registry entry
Registry Root: HKEY_LOCAL_MACHINE
Registry Key: SOFTWARE\Microsoft\Visual JSharp Setup
Registry Value:
My installation should be continued if ther key is found.

I tried to install my installer on the computer which has J# reditributables and correct registry key is created, but installation always stops with the message I specified in the requirement. Hence installer cannot find the key.

Could you please advise what i'm doing wrong?

Thank you.

Best regards, Georgiy
Labels (1)
0 Kudos
3 Replies
Highlighted
Pilgrim

Re: Installation Requirement for Registry key

If you are using System Search, hence RegLocator Table, then it is "not possible to use the RegLocator table to check only for the presence of the key."
0 Kudos
Highlighted

Re: Installation Requirement for Registry key

Could you please advise any other alternative how I check whether J# is installed or not?
0 Kudos
Highlighted
Pilgrim

Re: Installation Requirement for Registry key

You can either look for another registry entry that contains value data if there is one, or create a custom action that determines if the registry exists and sets a property which can then be used.
0 Kudos