Use the @DOS macro for OS version info - XP is "5.1"

You can use ReadValue('hklm\software\mycompany', 'DST') to check if it's installed, and - after a successful install, use
WriteValue('hklm\software\mycompany', 'DST', 1, 'Reg_SZ') to write the flag. Leaving files on machines is a messy way of doing things.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D