toonetown
Posts: 37
Joined: Wed May 16, 2018 3:46 pm

Possible to use registry value as a condition

Is it possible to use the presence (or lack of) a registry value as a condition for a custom action? Alternatively, is there a way to set a property to be the value of a registry key (I can then use the property in my condition).

Ideally, I'd like to do this without writing a custom action itself...
toonetown
Posts: 37
Joined: Wed May 16, 2018 3:46 pm

Re: Possible to use registry value as a condition

Looks like I can achieve what I want by setting up a Search...
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Possible to use registry value as a condition

Hi,

Indeed, you can create a registry search, then use the search property as a condition for your custom action. In order to set a property as the value for a registry entry, you can proceed as described in the "Add registry keys and values to your package" tutorial.

Let me know if you need more details.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”