Thursday, January 06, 2011 4:34 PM
We have a 32-bit application that includes a pre-requisite for the SAP Crystals Reports for VS 2010. I have setup the product.xml and 32-bit and 64-bit installation files for Crystal Reports correctly. In our Setup Project, TargetPlatform is x86 and the application is x86. However, when we run Setup.exe, the 64-bit version of Crystal is installed so our app fails to talk to it. We have to uninstall that and then manually install the 32-bit version so everything works. Our app is an Excel add-in, and our users have 32-bit Excel even on 64-bit Windows 7.
At this point, we are probably going to require that this redistributable gets manually installed with the 32-bit version, but it sure would be nice to have one seamless installer. Any ideas on how to get the bootstrapper to go 32-bit as well? This is VS.NET 2010. The build machine is 32-bit.
Friday, January 07, 2011 9:28 AMModerator
"We have a 32-bit application ", "TargetPlatform is x86 and the application is x86" , , "the 64-bit version of Crystal is installed so our app fails to talk to it". Too many expressions are puzzling. Would you please explain that more clearly? What is you already have and what is your desired effect?
Helen Zhou [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Friday, January 07, 2011 3:34 PM
Hi Helen, let me try again:
- We have a 32-bit (x86) application.
- The application uses the Crystal Reports for VS 2010 3rd party component.
- The application has a Setup project we use to install.
- In the Setup project, we have selected Crystal Reports in the Prerequisites
- In the Setup project, we have selected the option to install prequisites from the same folder as the application.
- In the Setup project we have selected the TargetPlatform to be x86 (32-bit)
When we install the application using the setup project on a Windows 7 64-bit machine, the 64-bit installer for Crystal Reports is used.
We were expecting the 32-bit installer for Crystal Reports to be used. That is why we set the TargetPlatform to x86. We had to manually uninstall Crystal Reports and then manually install the 32-bit redistributable for our application to work. Note that it is not possible for our application to target x64 because it is an Excel Add-In and the users have the 32-bit version of Office 2010 installed.
So why is the bootstrapper (setup.exe) kicking off the 64-bit installer for pre-requisites even though we set TargetPlatform to x86 and how do we solve it?
Monday, March 14, 2011 3:21 PM
I have the same exact problem and I can't find a clear answer anywhere. It seems to me like this is a bug with either Crystal Reports or Visual Studio setup package. If the target platform in the application and setup package are all set to x86 then why does the setup package install the x64 version of crystal reports? This is very frustrating, can someone from Microsoft please give us a solution to this problem?
Monday, March 14, 2011 3:50 PMWe ended up having our client manually install the x86 Crystal redistributable before installing our application and we had to exclude Crystal from our pre-requisites. Not the elegant solution we were looking for, but at least it worked.
- Marked As Answer by Helen ZhouModerator Tuesday, March 15, 2011 2:33 AM