Click here to Skip to main content
11,485,564 members (77,673 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: 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 22: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 at 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
0 Sergey Alexandrovich Kryukov 380
1 Maciej Los 365
2 Mehdi Gholam 210
3 Frankie-C 134
4 OriginalGriff 134
0 Sergey Alexandrovich Kryukov 8,819
1 OriginalGriff 7,982
2 Sascha Lefèvre 3,199
3 Maciej Los 2,841
4 Richard Deeming 2,370

Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 27 Feb 2013
Copyright © CodeProject, 1999-2015
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