How do you get the installer to put the program on the start > programs and in the start > startup folders?
PLus how do you get the version number so I can display it on a form?
Printable View
How do you get the installer to put the program on the start > programs and in the start > startup folders?
PLus how do you get the version number so I can display it on a form?
I don't know about the deploying project bit.
Do you mean you just want to get the version number of your program? if so you double-click on the AssemblyInfo file in your project and set the variables there such as Title, Company name and Version, ect.
You then have to call it like this:
This will get the Major number, i'll leave it up to you to get the others.Code:Major = System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly.Location).ProductMajorPart()