http://www.usfirst.org/community/frc....aspx?id=10934
You need to check out all of the LabVIEW resource links that are accessible via the above website. These are the definitive docs from NI to answer your questions. Specifically, you need to learn the difference between running from RAM and building/deploying/run as startup.
Russ