cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kostyan
Level 3

Custom prerequisites registry condition

I'm trying to install C++ redist 2015-2019 bundle as a custom prerequisite. Before that, I need to check if the bundle isn't installed yet or it has a lower version. The problem is that depending on the bundle version the registry key name can vary. See the example below:

  • HKEY_CLASSES_ROOT\Installer\Dependencies\VC,redist.x86,x86,14.24,bundle
  • HKEY_CLASSES_ROOT\Installer\Dependencies\VC,redist.x86,x86,14.27,bundle

So, apparently, I need some kind of wildcard in the key filed in order to have the ability to check value under different keys.

 

What options do we have to do so?

Labels (1)
0 Kudos
(0) Replies