Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setup.exe 1

Status
Not open for further replies.

rskiko

Programmer
Mar 17, 2004
10
TN
Hi,
I want to create a setup.exe file for my C# project, How I can do that.
Thanks.
 
Add a project of type setup to the solution, and read the help on MSDN. It is quite a simple task.

M.

Hollingside Technologies, Making Technology work for you.
 
File->New Project
In Project Types tree select "Setup and Deployment Projects"
In Templates window select "Setup Wizard"
Type in Name edit field the name of the setup project: Let "projSetup"
Choose Location using Browse button
Click Ok
Now you have the File System opened and ready to configure:
Left window is File System Target Machine tree view which contains
Application Folder
User's Desktop
User's Programs Menu
For these entries set Always Create to "True" in the Properties window.

Right click on Application Folder entry and choose Add to add files there
Right click on User's Desktop entry and choose Create shortcut to User's Desktop. Entry name/type will be added in the right window.
Right click on this entry and choose Rename to rename it to the name you want e.g. it is related with your exe
Right click on this entry and choose Properties window. In the Propoerties window set the following entries:
Icon, Working Folder (use ...Browse and select Application Folder entry), Target (use ... to locate the Application Folder and there the .exe file that you add befor.
Repeat for User Program menu shortcut.
Build and run setup.exe
-obislavu-
 
Thanks mrscary and obislavu for help, that's what i needed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top