PDA

View Full Version : getting variable registry entry


Sooty
10-11-2004, 10:52 AM
we have an application which needs to check the registry/ path of a preinstalled software before ours can be installed i.e

if OA (live) exists in registry
then read path into variable

this also works for OA (Test) the problem is that some installs are not always called (Test) and (Live), as the user can deceide what to call it
for example oa (Development)

is there any way a wildcard be use if the if (Live) or (Test) are not found
i have tried but with out much luck

Many thanks in advance

csd214
10-11-2004, 11:48 AM
With SUF6 you may be have to write/export part of the registry to a text file. Have a look at this post http://www.indigorose.com/forums/showthread.php?t=7800.

(I don't know whether this is a solution in your case.)

Michael Frost
10-11-2004, 01:29 PM
We've had better luck writing our own DLL files that are called from within Setup Factory installations to search/enumerate/write registry entries. Calling your own DLL will allow you to include a lot more logic than just a straight registry read.

csd214
10-11-2004, 02:18 PM
...or you could go for SUF7.