Check out the section in the Developer's Guide "Preparing Applications for Distribution. I believe it answers all the questions you have asked.
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com