Skip to Content
Former Member
Jan 29, 2016 at 08:00 PM

Issue With CRRuntime Prerequisites


Hello all,

Using Visual Studio 2015 - CRRuntime Service Pack 15.

I used a Crystal Reports viewer in my project in Visual Studio. In the Publish tab for my project, I have setup CRRuntime as a Prerequisite, along with .NET 4.0 and Windows Installer 4.5. I then Published my project on my computer. I copied the three folders with the Packages information, included of course the product.xml file for each. I have done many other times with SKDs and had no issues. The application is set to "The application is available offline as well."

When it's taken and the published installer is setup and run on a computer without CRRuntime, the program goes to try and download the MSI and automate the install, per usual. Once download, an error occurs stating "Setup has detected that the file %TEMPFOLDER%\Crystal Reports For .NET Framework 4.0\CRRuntime_32bit_13_0_15.msi has changed since it was initially published. Click OK to retry the download, or Cancel to exit setup."

Now I realize, I could download and install the CRRuntime independently, but my program's installer should be able get it's Prereqs from online, like all of my other programs. I also could download both the CRRuntimes for 32-bit and for 64-bit, but I'd also then require .NET Framework 4.0, .NET Framework 2.0, Microsoft Data Access Components 2.8 and Windows Installer 4.5 in both 32-bit and 64-bit plus in the Server vs Workstation editions. To be in the Packages folder along with the installer. I know because I tried this and it works in all environments, but it takes my 8MB installer and turns it into 3.2GB installer, which is not really what I wanted.

Isn't there an easy way to do this?

I have even tried removing all installer checks from the product.xml and only allowing 64-bit install, but this gave the same error as before.

Any and all help would be highly appreciated to save me from the Prereq hell, thank you in advance.