Can Launch Condition detect a registry key without a value? - 06-24-2005 , 05:45 AM
Can I use a Launch Condition to detect the presence of a key without a
value? and if so how?
Just to put this into context, I hope to have a launch condition to detect
whether the Adobe SVG viewer has been installed. I know that it has if the
registry key "HKLM\SOFTWARE\Adobe\Adobe SVG Viewer" exists. The trouble is
that there are no values under this key, none at all. There is a sub-key
"HKLM\SOFTWARE\Adobe\Adobe SVG Viewer\3.02" which contains information
specific to the current version, but I would rather not test explicitly for
the presence of version 3.02 because this is a specific version and won't
work if someone has a later release. So, can I check for just the key
"HKLM\SOFTWARE\Adobe\Adobe SVG Viewer"? I've tried various things but
haven't been able to get it to do what I want.
Any help would be appreciated. Thanks.
Re: Can Launch Condition detect a registry key without a value? - 06-24-2005 , 06:49 AM
Just found this on the page
A registry search cannot verify that a registry key exists unless the
registry key contains a non-null value.
That answers my question. I suppose I'll have to find a different way
"Brian Cryer" <brianc (AT) 127 (DOT) 0.0.1.activesol.co.uk> wrote
|Thread Tools||Search this Thread|