We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

jrimpo
Posts: 4
Joined: Mon Apr 09, 2007 7:05 pm

MS ReportViewer SP1 as prerequisites and installed

I have a windows .net app that uses Microsoft's ReportViewer controls. I would like to run Microsoft's installation routine as a Prerequisite/Software. However, now that there is a SP1 for the controls, I have two .exe's from Microsoft. One is for a new install - and the other is for an upgrade.

Has anyone else successfully used these two different .exe's to get the ReportViewer controls correctly installed? Any hints.

Thanks in advance,
Jeanne
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Jeanne,

My suggestion is to add two prerequisites, one for the actual installation of MS ReportViewer and the other for SP1.

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
jrimpo
Posts: 4
Joined: Mon Apr 09, 2007 7:05 pm

I'm trying to put a Search in to find: Microsoft.ReportViewer.Common.dll
in GAC.

Do I set the Path to: [WindowsFolder]\assembly ?

I can't seem to make it work. It doesn't find the file even when I leave off all min and max versions.

I was hoping that I could test for an exact version number (8.0.50727.42) - this is the file version (when you view the \assembly directory in explorer, it shows the version as 8.0.0.0 - but when you look at the properties, it gives this detailed file version).

I thought I would put both the min and max to this version. But I noticed in another thread: "If you don't specify a language criteria for the file search then the "Min Version" that you specify must be one less than the actual value in order the search to be successful." When I view the file properties, under language, it states: "Language Neutral". Is that what I would put in the language box?

Thanks,
Jeanne
jrimpo
Posts: 4
Joined: Mon Apr 09, 2007 7:05 pm

Here is what I have so far - although I'm not sure if I will include it in the install.

The Search condition is called OLD_REPORTVIEWER:

path: [WindowsFolder]\assembly\gac_msil\microsoft.reportviewer.common\8.0.0.0__b03f5f7f11d50a3a

with the condition that the max date is 3/8/2007 (the new version's date is 3/10/2007)

Then the prerequisite is: OLD_REPORTVIEWER ~= ""

I'd be happier if I could just give a warning, but not halt the installation.

Jeanne
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Jeanne,

What exactly you want to create? a launch condition or a prerequisite?

A launch condition is used only to display a error message and halt the installation if a condition is not meet.

To create a prerequisite switch to "Prerequisites->Software" page and click "New..." button. Read more about prerequisites here:
http://www.advancedinstaller.com/user-g ... tware.html

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”