Crystal Report 2008 Prerequisite Problem - Advanced Installer Community
Aravindadx
Posts: 8
Joined: Fri Apr 25, 2014 4:52 am

Crystal Report 2008 Prerequisite Problem

Hello Everybody,

I'm using advanced installer 10.8 version and I created a professional installer setup file for a visual studio.net (2008) project. There are no problems to deploy the setup package. But still there is one problem. My Program needs the Crystal Report Basic Run time 2008 version. Because of that I found merge module for that. But I have failed. After that I downloaded the CRRedist_x86.msi file from internet and I have added the CRRedist_x86.msifile for my installer project as a prerequisite. I deployed a single exe file with CRRedist_x86.msi file and there haven't any problem. But after that when I install my program , Advance Installer runs the Crystal Report 2008 Prerequisite. But it doesn't install to the computer.

If anyone can help me I will appreciate it very much and more. However I'm a newcomer for Advanced Insrtaller. Thank You!! :roll:
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Crystal Report 2008 Prerequisite Problem

Hello and welcome to Advanced Installer forums,
I have added the CRRedist_x86.msifile for my installer project as a prerequisite.
Since your installation package needs this prerequisite, adding it as a prerequisite is the correct approach.
I deployed a single exe file with CRRedist_x86.msi file and there haven't any problem. But after that when I install my program , Advance Installer runs the Crystal Report 2008 Prerequisite. But it doesn't install to the computer.
I'm not sure I fully understand your scenario. Can you please give us more details about this, (maybe exemplify)?

Please note that a prerequisite will be installed based its install conditions defined in the Prerequisite Install Conditions Tab of the related Prerequisite. The Install Conditions section allows you to condition the prerequisite based on custom searches. You can create multiple searches for the same prerequisite. In order to test a condition you can use the [Test] button.
The Prerequisite Search Dialog allows you to add a new search to the installation conditions of a prerequisite or edit an existing one.

Also, be aware by the two options below the “Install Conditions” pane:
  • Install only if at least one condition is false - If this option is selected, at least one search must fail in order to install the prerequisite.
    Install only if all conditions are false - If this option is selected, all searches must fail in order to install the prerequisite.
So, the prerequisite software will be installed according to the enabled option which refers to the install condition that you have defined before.

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Aravindadx
Posts: 8
Joined: Fri Apr 25, 2014 4:52 am

Re: Crystal Report 2008 Prerequisite Problem

Hello Dan,

First of all I have thank to you for replied my forum. It's a great work. I haven't fluent English, because of that I think to provide some screenshots and my project file. (msd system.aip) However my crystal report prerequisite doesn't install to the computer when I run my setup program. I'll test this setup in few computers. But it doesn't work.

Also I need to know about install a certificate to the Trusted Root during the setup. I think to use custom actions to do that operation. But I don't know how to do that. I have uploaded a zip file contain with screenshots, project file (msd system.aip) and certificate files.

Again I'm appreciate your kindness and helpfulness fr me.
Attachments
Advance Installer.zip
Screenshots, Project file and Certficates
(785.76 KiB) Downloaded 471 times
Aravindadx
Posts: 8
Joined: Fri Apr 25, 2014 4:52 am

Re: Crystal Report 2008 Prerequisite Problem

Hello Friends,

This Crystal Report problem still stands in my installer. But I have found some important thing about this problem. When I set Crystal Report 64-bit edition as prerequisite and after install it in 64-bit (Operating System) computer there isn't any problem. Crystal Report 2008 64-bit edition install correctly to computer. But If I set Crystal Report 2008 32-bit as prerequisite it never install to 64-bit (Operating System) computer. I didn't test this install in 32-bit(Operating System) computer. But important thing is I only need to install Crystal Report 2008 Run Time 32-bit edition for every computer. My program supports only for that edition. I don't know how to solve this. But I think Advance Installer's Team will support me to solve this. However I appreciate your helpfulness and Kindness for me.

Thank You
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Crystal Report 2008 Prerequisite Problem

Hello,

In order to have a better view about this, can you please send us the .AIP(project file) and a verbose log of the installation process to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Aravindadx
Posts: 8
Joined: Fri Apr 25, 2014 4:52 am

Re: Crystal Report 2008 Prerequisite Problem

Hello Dan,

First of all thanks for your reply about my prerequisite problem. Now it's already clear and I can install it any computer whether operating system 32-bit or 64-bit. I studied the problem deeply. After that I understood the problem. It's not about prerequisite's or Advanced installer package's problem. It's a problem about my testing method.

When I tested out my setup package there are few versions in my computer. As a example I have tested Version: 1.00,Version: 7.00. I have already used the same prerequisite for both versions. Then I installed these versions to same computer (My Personal Computer). This setup package installation progress use the same path to all versions to extract cab files (C:\Users\Aravinda\AppData\Roaming\A Softs Tech). When I checked the above path there are 2 folders in same name but for different versions. Because of that my Crystal Report prerequisite crash with other one.

Then I delete both A Softs Tech (Cab File Extracted Folders) folders and after I installed the program with clean setup. Then my program installed the Crystal Report 2008 Basic Run time with their original digital certificate. Now it's install to computer correctly . I have tested out in Windows Xp, Windows 7 (x86 and X64) and Windows 8.

Again I'm giving lot of thanks to you for giving me your valuable help and your ideas for this operation. Personally I like to tell Advanced Installer is a great software to build setup package for anyone. It's a pleasure for me always.So the problem is resolved.

Thanks in Advance !!
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Crystal Report 2008 Prerequisite Problem

You're welcome,

We appreciate your enthusiasm very much, thank you! If there is anything else I can help you with, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”