Steps to Create Setup and Deployment Project in Dot Net VS 2008
2010-08-25 09:00
591 查看
Step 1
Create your own windows application. Create a new Windows application project in C# and named it as Sample.
Step 2
Design your own application. Here we have a simple login form for example.
Step 3
After completing the design and coding, build the solution of the project in release mode.
Step 4
Check the Release folder for the file “ProjectName.exe”. Here in this example we have the project name as sample so we can find a file with the name Sample.exe. Double click the executable file and check the example.
Step 5
Create a Deployment Project. Select the “Other Project Types” -> “Setup and Deployment” -> “Setup project”. Here we have the setup project for example as “SampleSetup”.
Step 6
Add the Sample.exe project application file inside the “Application Folder”.
Step 7
To make a shortcut for the project right click “File System on Target Machine” and create shortcut of the application. Here in this example the project shortcut is created in program files folder.
Step 8
Create the shortcut of the application.
Step 9
Rename the shortcut of the application.
Step 10
Move the Shortcut file to specified target. Note if you need another shortcut for some other target also create use same steps.
Step 11
Now build the solution in release mode.
Step 12
The setup file created in release folder of the project specified path.
Step 13
Run the setup, step the path to extract.
Step 14
The SampleSetup project is extracted and shortcuts are created. Now run your application.
comes from :http://www.fordevs.com/2009/07/steps-to-create-setup-and-deployment-project-in-dot-net-vs-2008.html
Create your own windows application. Create a new Windows application project in C# and named it as Sample.
Step 2
Design your own application. Here we have a simple login form for example.
Step 3
After completing the design and coding, build the solution of the project in release mode.
Step 4
Check the Release folder for the file “ProjectName.exe”. Here in this example we have the project name as sample so we can find a file with the name Sample.exe. Double click the executable file and check the example.
Step 5
Create a Deployment Project. Select the “Other Project Types” -> “Setup and Deployment” -> “Setup project”. Here we have the setup project for example as “SampleSetup”.
Step 6
Add the Sample.exe project application file inside the “Application Folder”.
Step 7
To make a shortcut for the project right click “File System on Target Machine” and create shortcut of the application. Here in this example the project shortcut is created in program files folder.
Step 8
Create the shortcut of the application.
Step 9
Rename the shortcut of the application.
Step 10
Move the Shortcut file to specified target. Note if you need another shortcut for some other target also create use same steps.
Step 11
Now build the solution in release mode.
Step 12
The setup file created in release folder of the project specified path.
Step 13
Run the setup, step the path to extract.
Step 14
The SampleSetup project is extracted and shortcuts are created. Now run your application.
comes from :http://www.fordevs.com/2009/07/steps-to-create-setup-and-deployment-project-in-dot-net-vs-2008.html
相关文章推荐
- Post-Build script to fix MSI issues in Vista for VS 2005 Setup and Deployment Projects
- How to create installation patches for VS.NET deployment projects
- Using CoCreateObjectDotNet to Access and Use .NET Assemblies in InstallScript
- Summarize the steps how to create a .NET application[摘自Beginning Visual C# 2008]
- Easy Steps to Create Storm Project ( Twitter Support) in Eclipse
- 关于使用Visual Studio 2008 建立Setup And Deployment Project(安装与部署项目)制作安装.net 安装程序,插入Custom Actions(自定义动作)的办法
- How to use Wise SetupCapture in the Wise Packager for Deployment Server to create an MSI
- Create Hadoop project in IDEA Intellij and Commit project to Hadoop platform
- Steps To Create A New Project in Github
- VS 2008 Setup Project Build 出现 ERROR: Could not create the file,发现是Chrome 启服务Software Protection的导致。
- How to create simple and advanced pivot tables in C# and ASP.NET
- Examples to create your Conferencing System in .NET, C# VOIP & Video Conferencing Systems using H.323 and TAPI 3
- [引用]SQL Server 2005 Books Online How to: Create a Job with Steps and a Schedule in Visual Basic .NET
- How to create a project from existing source in Eclipse and then find it?
- plan to create a project in sf.net
- [引用]SQL Server 2005 Books Online How to: Create a Job with Steps and a Schedule in Visual Basic .NET
- How to create aligned partitions in Linux for use with NetApp LUNs, VMDKs, VHDs and other virtual di
- “Build action” settings in VS.NET project properties and what do they do?
- Use ASP.NET and DotNetZip to Create and Extract ZIP Files
- How to Hook Up a VS.NET 2005 Solution With CruiseControl.NET in a Few Minutes