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

前端 未结 1 1497
清酒与你
清酒与你 2021-01-17 03:58

I have worked on a desktop application in .net and it uses crystal report for generating report in pdf/ms word. However, I am now trying to deploying this app with visual st

相关标签:
1条回答
  • 2021-01-17 04:51

    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

    0 讨论(0)
提交回复
热议问题