Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created a windows application and then I made it into a setup(.exe) file format . But during installation the setup doesn't ask for any option to run the program as a startup. What changes should I make to achieve this. I successfully installed the program but I need to add an option where the user can choose if the program should run at startup
Posted

1 solution

If you have more than one project in the solution then you need to set any one of the project as startup which you want to see when you run the applciation.Right Click the project and select Set as startup project. So when you run the application the one which you have selected as startup project will open.
 
Share this answer
 
Comments
Nibu Kurian 28-Feb-13 0:07am    
I am not looking for that. Consider some other applications and when we install the app before finishing there is a checkbox that asks the user if he wants to run it as a startup program. this is what I am looking for. I converted my project to a setup file but when I try to install it it doesn't ask that question. I want that question at the installation level

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900