I need help writing a script. I need to check for membership in a group and a specific reg key.
If user belongs to group and reg key does not exist then install exe.

if use is not in group do nothing
if user is in group and key exists do nothing

Help Please