Click here to Skip to main content
15,890,186 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I have created a project in C#.net windows application, The Program.cs file contains two classes named as Program and Option, So my project properties contains two startup object one is windows.Program and other is windows.Options.

The code has been run successfully, When i choose startup object as windows.Options then my code has starts to run from windows.Options class and if i choose windows.Program, it starts to run Program class.

I need to create a installation package in my project and after installation has been done, my project has to display in start menu.

<t>I can create a Installation package and installation also done.
Note:
The problem is the installation package runs only one startup object. i.e. before create installer, I suppose to choose startup object as "windows.Program" then after create installer and installed successfully then click my installed project, It directly run the windows.Program file. If I suppose to choose "windows.Options" before create installer. then after installation of my project and run means it starts to run windows.Options class.

I need to create a single installation package and after installed this package, my project needs to shown in start menu of my system name called "project" and when i click project, it has to show both Program and options. If i choose Program, then it starts to run program part of my project, if I choose Options, then it starts to run Option part of my project. If you know guide me how to create package like this.

Posted

1 solution

You can use Inno Setup. I'm using it for my programs setup. It is so easy and you can write code to make different things. The problem is progrraming language of Inno Setup is Pascal(It was a problem for me, maybe it will not be a problem for you). You can get data from web services too. It also supports lotf of language. So you can make your program multi-language. If you are interested here is the link:
http://www.jrsoftware.org/isdl.php[^]

You can look at examples. If you like it I can help you.
 
Share this answer
 

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