重新分发WinForms应用程序的报表查看器。 [英] Redistributing Report Viewer for WinForms Application.

查看:74
本文介绍了重新分发WinForms应用程序的报表查看器。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我的WinForms应用程序有一个全面的安装包,它处理先决条件等。我已经将报告查看器重新包括在内,并将其作为我的安装顺序之外的自定义操作执行。但是 - 如果我删除安装的引导过滤器(setup.exe)并将应用程序重新分发为MSI,则在部署到启用了UAC的计算机上时会出现问题,因为在安装可再发行组件时,进程未提升。
我已经对将这样的可再发行软件包作为自定义操作执行的想法感到不安,而这个最新问题只会增加我的担忧。我真的想控制Report Viewer控件的重新分配,所以我有一些问题。

我可以吗?我似乎记得读到控件不是reditributable以外的任何形式,除了它的可再发行的exe包 - 虽然我可能会考虑别的东西(可能是SQL Server异常消息框)。

组装是否有进入GAC,或者我可以将它们与我的应用程序的其余部分一起部署吗?

如果第一个问题的答案为"是",那么为什么没有合并模块?如果人们有兴趣,我会高兴地创建一个,是否允许?


A.

Hi,

My WinForms application has a comprehensive installation package which deals with prerequisites etc..  I already include the report viewer redistibutable and execute it as a custom action outside of my install sequence.  However - if I drop the boot strapper (setup.exe) for the installation and redistribute the application as an MSI, I get problems when deploying onto machines with UAC enabled, as the process is not elevated at the point at which I install the redistributable.

I am already uncomfortable with the idea of executing redistributable packages like this as a custom action, and this latest problem only adds to my concerns.  I would really like to take control of the redistribution of the Report Viewer control, so I have some questions.

Am I allowed to?  I seem to remember reading that the control was not reditributable in any form other than it's redistributable exe package - although I may be thinking of something else (SQL Server Exception Message Box maybe).

Do the assemblies have to go into the GAC, or can I deploy them alongside the rest of my app?

If the answer to the first question is 'yes', then why isn't there a merge module?  I'd happily create one if people were interested, would that be allowed?


A.

推荐答案

谢谢你的反馈意见。您能否提供有关引导过滤器和UAC问题的更多详细信息?

我们不支持或服务以redist exe包以外的任何形式重新添加位。因此,没有合并模块等。

是的,组件必须进入GAC。

感谢。

Stella Chan
SQL Server Reporting Services
Hi,
Thank you for your feedback.  Could you provide more details on the issue with the boot strapper and UAC?

We do not support or service redisting the bits in any form other than the redist exe package.  As a result, there is no merge module etc.

And yes, the assemblies have to go into the GAC.

Thanks.

Stella Chan
SQL Server Reporting Services


这篇关于重新分发WinForms应用程序的报表查看器。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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