Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 989
  • Last Modified:

Deploy ClickOnce application with Crystal Reports for .NET 2.0 WITHOUT using prerequisite setup?

Gents, I am developing a windows forms application for the .NET 2.0 framework which incorporates Crystal Reports.  I am using ClickOnce for deployment, Visual Studio 2008 for IDE.  I am curious if it is possible to simply include the CR redistributable assemblies without using the prerequisite installer?  I would really like to avoid the prerequisite installer if at all possible (ugly...)

I have tried this a few different ways with no luck.  I explicitly set the files to 'Include' in the Application Files list.  However, build still reports 'unable to apply publish settings for item "crystaldecisions.crystalreports.engine" etc.  I also tried including the assemblies as content in the project, i tried this with BuildAction=Content/Embedded Resource/Component and Copy To Output Directory=Always/Copy if Newer ... etc with no luck. Other third party components I am using are deployed just fine using similar methods.

Does Crystal HAVE to be installed on the client?  If so, why?
0
dougschultz
Asked:
dougschultz
1 Solution
 
CodeCruiserCommented:
Most DLLs could be just copied to the destination folder and would work but Crystal Reports has so many files and these are installed into different places including GAC and program files. It also creates many registry entries etc. So i dont think its possible to just copy the files over.
0
 
dougschultzAuthor Commented:
Thanks. I guess I'll have to work in a controlled download and install because that prerequisite installer isn't very nice (although it does work).
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now