How to create a .NET setup project with crystal report prerequisite?

限于喜欢 提交于 2019-12-01 13:47:58

There is a folder called Microsoft Visual Studio 9.0\Crystal Reports\CRRedist\IA64 in your Programs folder. There you will find a redistributable package. Just add this file to your setup project - user defined actions - and install it.

edit: As you mentioned setupProject CustomActions only allows exe/dll files

I found another solution. Hope this ones satisfies your needs.

Add a mergeModul to your setupProject (right-click solution explorer on setupProject, add mergeModul). A folder called C:\Program Files (x86)\Common Files\Merge Modules should automatically show up. There you may find a file called CrystallReportsRedistxxx.msm. Add this to your project and it should install too.

To find the right MergeModul for your version have a look at: BusinessObjects_CrystallReports

Adding MergeModul to setupProjects look at: SetupMergeModul

What kind of CrystalReport package to use, look at: MS CrystalReport I and MS CrystalReport II

hth

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!