How to make entry in systems registry in flex?
===

I have a desktop application and developing an installer script. I need to check for previous installations whenever this script run. I have no idea how to access registry in flex. any help or reference will be extremely helpful.  