Code:
If InGroup ("domain\Group")
;Checks if the user is in the specific group, if not then the whole section of
;code is skipped
If Not KeyExist ("HKLM\SOFTWARE\Mykey")
;If the key is not found it will launch the application, otherwise it will quit
run "%logonserver%\netlogon\site\app.exe"
 
;WriteProfileString("\\server\folder\Installlog.ini",@fullname,@hostname,@date)
;Need to readup on the WriteProfileString as you can't use it quite like this
EndIf
EndIf