如何创建安装项目 [英] how to create setupt project

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

问题描述

我已经开发了一个项目,但是当我创建安装项目并安装它时.
它需要SQL Server和Crystal Report dll库.我应该怎么做才能解决此问题

有人可以帮我吗?

在此先感谢

I have developed a project but when i create the setup project and install it.
it need needs sql server and crystal report dll libraries. what should i do to remove this problem

Can any one help me ?

Thanks in advance

推荐答案

如果您的项目需要SQLerver和Crystal报表,则可以在安装项目中定义这样的 prerquisites 编码.
如果未安装SQL和Crystal,安装程序将不会继续安装.

在Visual Studio安装项目中添加.NET Framework的先决条件 [
If your project need SQLerver and Crystal report then you can define such prerquisites codition in setup project.
The installer will not continue setup if the SQL and Crystal is not install.

Add Prerequisites of .NET Framework in Visual Studio Setup Project[^]


右键单击设置项目".选择属性.
从打开的对话框中选择必要条件,然后选择
的checkboxex 适用于Visual Studio 2008(64位/32位)的Crystal Report Basic
Microsoft Visual Studio 2008报表查看器
然后,SQL Server Compact 3.5在与我的应用程序相同的位置单击单选按钮下载必备条件,然后构建您的应用程序.
Right Click on the SetUp Project.Select Properties.
From the opened dialog Box select prequisites.and then select the checkboxex for
Crystal Report Basic for Visual Studio 2008(64bit/32bit)
Microsoft Visual Studio 2008 Report Viewer
And SQL Server compact 3.5 after that click on the radiobutton download prequisites from the same location as my application and then build your application.


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

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