Click here to Skip to main content
12,550,731 members (32,275 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# C#4.0
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 26-Feb-13 21:16pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.161021.1 | Last Updated 27 Feb 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100