06-26-2017, 10:48 AM
Hi,
Can you help me with an "if" type of statement please?
I would like to look for a registry key and set a variable. If registry does not exist, default to path C:\temp as example.
I use the variable to launch a software afterwards.
Right now I have this:
[code][/str TestInstallPath
rget(TestInstallPath "InstPath" "Software\test")
run F"{LPosInstallPath}\test.exe" "" "" "" 0x10100;code]
Can you help me with an "if" type of statement please?
I would like to look for a registry key and set a variable. If registry does not exist, default to path C:\temp as example.
I use the variable to launch a software afterwards.
Right now I have this:
[code][/str TestInstallPath
rget(TestInstallPath "InstPath" "Software\test")
run F"{LPosInstallPath}\test.exe" "" "" "" 0x10100;code]