You could copy a txt file or so along with the program file. Do a check if the txt file exists before copying the program file to avoid double copying.

Why? Why not look for a Reg Key or value?

Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's