name clash with ReportViewer.exe prerequisites - Advanced Installer Community

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!

timc
Posts: 20
Joined: Wed Apr 30, 2008 12:43 am

name clash with ReportViewer.exe prerequisites

Hi,

One of our installers has prerequisite on MS ReportViewer. We install version
8 on Server 2003, or version 10 on Server 2008 R2, depending on the target OS.
The redistributables are stored in different places on disk, but both are
called simply ReportViewer.exe. Regardless of where we run the installer,
version 8 is installed every time.

It looks like version 10 is added to the archive first, then overwritten with
version 8. As a workaround, I renamed the files to ReportViewer8.exe and
ReportViewer10.exe. This fixes the issue, but I'm wondering if there's a
better solution.

Thanks,
Tim
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: name clash with ReportViewer.exe prerequisites

Hi Tim,

On your prerequisites' Properties page->Properties tab, notice the Folder field. This folder specifies the location where your prerequisite will be extracted. If both your prerequisites have the same folder, one of them will overwrite the other (them being in the same folder and having the same name, this behavior is to be expected). The solution to avoid this is to simply specify different extraction folders for each of your prerequisites.

Let me know if this solved your issue.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
timc
Posts: 20
Joined: Wed Apr 30, 2008 12:43 am

Re: name clash with ReportViewer.exe prerequisites

Hi Gabriel,

That works great.

Next time I'll look more closely at the documentation before asking a question that's already been answered. :)

Thanks,
Tim

Return to “Common Problems”