Verifies that a registry key exists on the source computer or on the destination computer. It can take two parameters. The first parameter is the registry key path and is string value. The second parameter indicates whether to look on the source computer or the destination computer. The second parameter is optional and is a Boolean value. If the second parameter is True, the interpreter looks on the source computer for the specified key. If the parameter is False or it is omitted, the interpreter looks on the destination computer.
Note: The Boolean parameter can only be used during General and Apply functions. If used otherwise the Boolean parameter causes a syntax error or runtime error.
The Key path (string value)
The system indicator (Boolean value)
KeyExists( <key path> );
if (KeyExists( "HKLM\\Software\\Microsoft\\Plus!", SOURCE))
ApplyKey( "HKLM\\Software\\Microsoft\\Plus!");
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|