|
So here's the scoop: I'm trying to create a setup MSI for a sample project (testing all of this on a small app before trying this on the real thing). I'm using C#, Visual Studio 2005.
I have gone ahead and checked the ReportViewer as a prerequisite (right-click the Setup project, select Properties, select Prerequisites button). I have also selected the option "Download prerequisites from the same location as my application". Then I compile the Setup project.
The compilation correctly produces the following files and folders:
Setup1.msi Setup.exe dotnetfx dotnetfx.exe ReportViewer ReportViewer.exe
Here's the problem: it's the wrong version of the ReportViewer.
The version that gets placed in that folder under setup is 2.0.50727.42. I don't want that. I want version 2.0.50727.817 because it fixes some bugs that cause very serious problems.
I've put the 2.0.50727.817 verrsion in a folder under various other folders in my project trying to find the magic spot where the compiler will pick it up and use it instead of the default version, but to no avail.
Any hints? It's no good for us to install our application with the old report viewer because it causes the application to crash with certain reports/datasources. We need the new one to be included with the installer and I don't want to have to remember every single time we compile the installer to go manually replace the ReportViewer.
|