Ensure that a Registry Key does exist.
⚙️ Compatible targets: Windows
|key||Registry key (ie, HKLM:\Software\Rudder).|
This parameter is required.
method: registry_key_present params: key: VALUE
Create a Registry Key if it does not exist. There are two different supported syntaxes to describe a Registry Key:
- with short drive name and ":" like HKLM:\SOFTWARE\myKey
- with long drive name and without ":" like HKEY_LOCAL_MACHINE:\SOFTWARE\myKey
Please, note that Rudder can not create new drive and new "first-level" Registry Keys.
-name: Make sure the Rudder reg key is defined method: registry_entry_present key: "HKLM:\SOFTWARE\Rudder"