How do I make my app. such that when the user runs it on his pc for the first time the registry or whatever is edited so that whenever windows is started again my applications gets started and rests in the system tray.(IU don't want to use activex to do so becoz I wnat to learn it using API's)

Please help.
Thanks in advance.

Kinjal