Click here to Skip to main content
15,920,633 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi.

I am developing project in c#, using some control.
now i want to create installer file for my project and also i want to add setup file of that control.
if user does not have control installed on his pc then my installer automatically start the installation of that control

Thanks
Posted

Try this:

Adding Custom Prerequisites [^]

hope it helps :)
 
Share this answer
 
Hi you can Create setup file through below process

File-> New-> Project-> Other Project Types-> Setup and Deployment -> Setup Project.

Set you Set your Project Name and Click on OK

Click File System On Target Machine -> Add Special Folder->Programs File Folder->Add Folder (Name It)-> Then go to File ->Add -> Existing project ->Select the C# project->After that you can see on solution explorer that solution has been added->Then go to the folder(Name it )->Add -> Project output->Ok.

Then you can see that Primary output has been made. Make two shortcuts of that.
Move those shortcuts that you have made to user desktop and another one to User programs menu.

After doing all this

Click View ->Editor->User Interface .
Then Debug It .

You can find the Folder inside visual studio projects.

Thanks.
 
Share this answer
 
Comments
Sumit Memane 11-Feb-13 2:54am    
I want to add other exe file which i need to be install before the my project get installed.(i.e Pre requirements for project)
[no name] 11-Feb-13 2:56am    
You want that your user should download it or you want you set up should include your installation files.
Sumit Memane 11-Feb-13 3:31am    
I want my setup should include that file

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