如何制作vb.net项目的安装文件 [英] how to make setup file for vb.net project

查看:185
本文介绍了如何制作vb.net项目的安装文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要帮助为我的项目制作一个设置文件,该文件要写入CD并可以在任何其他系统上使用.

I need help to make a setup file for my project which i want to write to CD and to be used on any other system.

推荐答案

在20总结(VS2005);):

1)点击文件"-> ``添加''-> 新项目".
2)转到其他项目类型"和设置和开发".
3)选择安装项目".
4)在解决方案资源管理器"中,右键单击您的安装项目.
5)选择属性".
6)单击``先决条件...''按钮.
7)选择先决条件(例如.NET Framework,Windows Installer).
8)按``确定'',然后按``应用''.
9)在左侧的文件系统"窗口中右键单击应用程序文件夹".
10)选择添加"-> ``项目输出''
11)完成后,在"Right File System"窗口中右键单击.
12)选择添加",然后选择要添加到应用程序目录中的任何内容
在安装过程中.
13)右键单击``从...输出项目''.
14)选择``从...向主输出创建快捷方式''
15)右键单击``从...快捷方式转换为主要输出''
16)选择``重命名''
17)用您的应用命名.
18)选择它并将其拖到左侧的用户程序菜单".
19)(构建解决方案)构建您的安装项目.
20)在安装项目目录中,您将找到.exe和.msi文件到
安装您的应用程序.

Pfffff ...我需要休息一下,喝杯咖啡.
In a 20 step nutshell (VS2005) ;):

1) Click ''File'' -> ''Add'' -> ''New Project''.
2) Goto ''Other Project Types'' and ''Setup and Development''.
3) Choose ''Setup Project''.
4) In the ''Solution Explorer'' rightclick on your setup project.
5) Choose ''Properties''.
6) Click ''Prerequisites...'' button.
7) Choose your prerequisites (e.g. .NET Framework, Windows Installer).
8) Press ''OK'', press ''Apply''.
9) Rightclick on ''Application Folder'' in the left File System window.
10) Choose ''Add'' -> ''Project Output''
11) When done, rightclick in the Right File System window.
12) Choose ''Add'' and whatever you want to add to the application directory
during installation.
13) Rightclick on ''Project output from ....''
14) Select ''Create shorcut to Primary output from ...''
15) Rightclick on ''Shorcut to Primary output from...''
16) Choose ''Rename''
17) Name it after your application.
18) Select it and drag it to the left to ''User''s Program Menu''.
19) (Build solution) Build your setup project.
20) In the setup project directory you''ll find the .exe and .msi file to
install your application.

Pfffff... I need a rest and some coffee.


这里是整个教程:逐步创建安装和部署项目的分步过程 [ ^ ]

一个简单的Google搜索将为您节省很多时间.不相信我.检查以下内容: Clickety [ ^ ]!

此外,Google的建议也会为您提供其他搜索选项.努力,我的朋友,努力!
Here''s the whole tutorial: Step-by-Step Process of Creating a Setup and Deployment Project[^]

A simple Google search would have saved you a lot of time. Do not believe me. Check this: Clickety[^]!

Moreover, Google suggestion would have given you other search options as well. Put some effort my friend, put some effort!


这篇关于如何制作vb.net项目的安装文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆