Click here to Skip to main content
Rate this: bad
good
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 21:16pm

1 solution

Rate this: bad
good
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.
  Permalink  
Comments
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 CHill60 240
1 Sarvesh Kumar Gupta 238
2 Sergey Alexandrovich Kryukov 193
3 DamithSL 153
4 OriginalGriff 138


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