制作vb.net Project的.EXE [英] Make .EXE of vb.net Project

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

问题描述

如何在vb.net项目中制作.exe文件或安装文件。并附上了水晶报告,Sql Server等所有必需的文件。它一步一步安装。我怎样才能做出更好的设置文件。

How Can make .exe file or installation file in vb.net project. And attached the all necessary files like crystal report , Sql Server. It install step by step. How can i Make better setup file.

推荐答案

您好,



请参阅下面的入门链接设置和部署项目。

如何:创建或添加部署项目 [ ^ ]

安装项目入门 [ ^ ]

在Visual Studio 2008/2010中创建安装和部署项目 [ ^ ]



用于安装sql server和创建数据库,表格参见下面的文章。

如何在Windows应用程序中添加Sql Server安装文件作为先决条件 [ ^ ]



希望它有所帮助。
Hi,

refer below links for getting started with setup and deployment projects.
How to: Create or Add Deployment Projects[^]
Getting Started With Setup Projects[^]
Create Setup And Deployment Project in Visual Studio 2008/2010[^]

for installing sql server and creating database, tables refer below articles.
How to add Sql Server setup file as a prerequisite in windows application[^]

hope it helps.


按照以下步骤创建设置文件



1)选择Add-> New Project - > ;选择其他项目类型设置和部署



2)在解决方案资源管理器中选择安装文件,然后选择视图 - >文件系统



3)在Application文件夹中选择右键单击add - >文件并选择您的.mdb数据库添加它。在您添加项目之前.exe文件(或)文件的主要输出



4)如果您需要设置文件的快捷方式,那么主要输出文件的权利并创建快捷方式并剪切此快捷方式选择用户桌面选项并将其粘贴重命名。



5)再次右键单击并在应用程序中创建另一个快捷方式然后粘贴它在USer的程序菜单中(创建一个文件夹并放置它)



6)重建设置文件并在设置文件夹中查看设置文件是否已创建那个msi文件并安装在其他PC上。



所有用屏幕截图解释的步骤参考这篇文章

http://www.dotnetspider .com / resources / 43059-How-Create-Setup-file-for-NET-windows.aspx



其他选项将整个bin文件夹文件复制并粘贴到其他文件中系统只需双击
Follow below steps to create set up file

1) Select Add->New Project -> select Other Project Type set up and deployment

2) Choose setup file in Solution Explorer right click then choose view -> File System

3) In the Application folder choose right click add --> File and choose your .mdb database add it. Along with before you add your project .exe file (or) Primary output of the file

4) If you need shortcut for set up file then right of primary out file and create short cut and cut this shortcut select user desktop option and paste it rename it.

5) Again right click and create another one short cut in the Application then paste it in USer''s Programs menu (create one folder and place it)

6) Rebuild set up file and see in your setup file folder setup file is created taken that msi file and install it in other PC.

all steps explained with screen shot refer this article
http://www.dotnetspider.com/resources/43059-How-Create-Setup-file-for-NET-windows.aspx

Other option take whole bin folder files copy and paste in other system just execute that .exe file on double click


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

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