getDirectoryPathFromRegistry()
Returns a file path stored in the specified registry key. Use this command to fetch the file location. For instance, use this command to find the directory where an application has been installed. The result can be used in subsequent steps by:
- deleteFileInDirectoryPath()
- executeFileInDirectoryPath()
- getFileInDirectoryPath()
- renameLockedFileInDirectoryPath()
- testFileInDirectoryPath() (an IF command)
- writeFileInDirectoryPath()
Example
getDirectoryPathFromRegistry("HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Adobe\Adobe Acrobat\9.0\Installer\AcroDist.exe", "All Operating Systems", "Halt on Fail")
executeFileInDirectoryPath(" ", " ", "Execute as User and Continue", "All Operating Systems", "Halt on Fail")