cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
georgiy_senenko
Level 5

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
TsungH
Level 12

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
georgiy_senenko
Level 5

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

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