Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
If registry key does not exist, use path
#1
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]


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)