I'm attempting to use the "Get Registry Key Value" in a WiseScript to check for the existence of the (Default) value within a registry key. The contents of the key are otherwise blank, so is there a way to check if the key exists, or to return a variable of (Default)?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
I don't *do* WiseScript as I prefer the greater flexibility of VBScript. In that, you test for the '(Default)' value by requesting the value name as a blank string (note: NOT vbNull, but ""). Maybe try that...?

Also, have you asked in the Altiris forum? http://forums.altiris.com/categories.aspx?catid=19&entercat=y
Answered 03/11/2008 by: VBScab
Red Belt

Please log in to comment
0
No need to venture further. I tried everything except "" which worked. Thanks!
Answered 03/11/2008 by: bdog
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity