Current filter:
                                You should refresh the page.
                                  • I have built a small VS demo solution containing a simple (hello world) winforms project and a setup project.
                                    In the setup project I include .NET Framework 4.0 and Windows Installer 4.5.
                                    With no DevExpress controls referenced, the project installs without any problem on a clean Windows XP SP3 VM.
                                    Once I add an XtraGrid to the project's only form and build the solution, the installation fails with error 1904 SAP BusinessObjects...dll Failed to Register.
                                    The log file for the setup project includes the line
                                    Adding merge module 'SAP Crystal Reports runtime engine for .NET Framework 4' that is a dependency of component 'WindowsApplication1.Primary_output'.
                                    If I remove the XtraGrid and all DevExpress references from the main project, the SAP runtime is not included in the setup and the install works.
                                    While the error itself obviously has to do with CR, the big question is why does adding DevExpress controls/references cause ?SAP Crystal Reports runtime to be required?
                                    The VS solution? is attached.

                                • Gosha (DevExpress Support) 12.27.2013

                                  Hi,
                                  The "1904 SAP" error is an error in SAP Crystal Reports. Our controls should not affect them. I recommend you contact their support to get more information on the error and how it may deal with our assemblies.
                                  In my turn, I tried to compile your project on my side to research this. It looks like your setup project was made using InstallShield from Flexera Software. I tried to install their trial version, but could not get your project work. Would you please provide us with a compiled version of your setup or point me to what tool I should use?
                                  In addition, provide us with more information you get when installing your application.

                                • A G 4 12.27.2013

                                  Thanks for the reply.
                                  I had stated in my original post that I understood the error was not yours.
                                  My question is, why does adding DevExpress components cause SAP to be added to the setup.
                                  For the setup, I used the InstallShield Limited Edition that comes with Visual Studio, which I had no problem installing on two machines. If you have Visual Studio, you can download that. Simply create a new setup project in VS (2010+) and it will point you in the right direction to download/install.
                                  Please note that the files I sent do contain the build log, in case that is of some help.
                                  As for a compiled version of the setup, I wasted four days trying to upload that to you. It is too large to upload. As I put in my email to support, when a file is too large, there is no notification of that. An HTTP 403 error is returned. While it is understandable to limit file size, there should be some indication of that.
                                  So, how am I to send you the compiled version?

                                • Gosha (DevExpress Support) 12.27.2013

                                  Hi,
                                  We are researching the issue regarding emails. We will reply as soon as possible.
                                  As for the current issue, I was able to load your setup project, but when compiling, I got several errors. You can see them in the attached file. I did a search on the Internet, but did not find any solutions for them. So, if you could provide us with information about what's wrong on our side, we will be able to research the issue.

                                • A G 4 12.27.2013

                                  Yea, help on InstallShield issues is not good. Regarding the errors, make sure that the prerequisites have been downloaded onto your machine. In the setup project step 2, Redistributables window, make sure that the location column for any checked item is 'Installed Locally'. If not, right click to download it.
                                  If that doesn't do it, simply delete the setup project and start a new one, then look at the log file generated. You will see that it has added the SAP Crystal Reports merge module.
                                  That is what I see as the problem is on DevEx side. As soon as I add a DevEx component to the project, the setup determines that SAP Crystal Reports is a prerequisite. Remove all DevEx components and references and the setup no longer includes the SAP merge module. I honestly don't know if the true cause is on the DevEx side or InstallShield side, but I need to start somewhere.

                                1 Solution

                                Creation Date Importance Sort by

                                Hi,
                                Thank you for the additional information. I have managed to create a setup on my side by following it. I do not have Crystal Reports installed on my machine. When I built your setup, no SAP Crystal Reports merge module was added. I have attached a video to illustrate this. As you can see, my setup was correctly built and I can install the application on a clear machine without errors.
                                In our XtraReports suite, there is a Crystal Reports converter that uses the CrystalDecisions.CrystalReports.Engine assembly. Probably previously your project used the converter and InstallShield remembered this and always adds CrystalDecisions assemblies to your setup. I searched for CrystalDecisions entries in your project to check if it refers to this technology somewhere, but I found them in the build report file only. So, I can't tell you how InstallShield detects what assemblies it should include into a setup. I suggest you contact InstallShield support to get more evidence on the issue.

                                Show all comments
                                • A G 4 12.30.2013

                                  Thanks for the reply. It can't have to do with previously using the converter because I never used the converter and, as I mentioned, if I remove the XtraGrid and all DevExpress references from the main project, the SAP runtime is not included in the setup.
                                  On the machine that you built the project on, do you have SAP Crystal Reports, version for Microsoft Visual Studio installed?
                                  Maybe that is the tipping point?

                                • Gosha (DevExpress Support) 12.31.2013

                                  Hi,
                                  I installed a trial version of SAP Crystal Reports 2013, but the issue is not still reproducible on my side. I have attached a video to illustrate this. What version of SAP Crystal Reports are you using?
                                  Meanwhile, have you addressed this issue to InstallShield? If so, what was the result? If not, I recommend you do this. I'm not sure that I will be able to help you even if I reproduce the issue on my side since I'm not familiar with the algorithm InstallShield uses to detect dependencies.

                                • A G 4 12.31.2013

                                  As I already stated it is the SAP Crystal Reports, version for Microsoft Visual Studio, also know as InstallShield Limited edition. It is different than their other versions. Yes, it have submitted to InstallShiled, but their only support for ISLE is a forum.

                                • Gosha (DevExpress Support) 12.31.2013

                                  Hi,
                                  I have InstallShield 2013 Limited Edition version 20.00.0000 and SAP Crystal Reports 2013 SP01 version 14.1.1.1036 installed (I checked this in Program and Features windows. What version do you have installed? Also, the issue may be caused by system settings. Is it possible to provide us with a virtual machine image of your system?
                                  As far as I understand based on your comment, InstallShield support is poor. So, we are ready to research the issue as well and provide you with our ideas if we have any. But, we need to reproduce the issue first.

                                • A G 4 12.31.2013

                                  Thank you for your continued support. I understand that issues like this are very difficult to track down.
                                  Sorry for delay in response, but I have spent a good part of the day collecting additional information.
                                  In Programs and Features, my InstallShield is listed as InstallShield 2013 Limited Edition and is also 20.00.0000.
                                  CR, in Programs and Features, is listed as SAP Crystal Reports, version for Microsoft Visual Studio version 13.0.7.1136.
                                  I am guessing that your version is a demo of the full verson and not the free one for Visual Studio.
                                  Note that I have duplicated the problem on two machines.
                                  Also -
                                  Adding an XtraGrid to the form adds the folowing references:
                                  DevExpress.XtraPrinting.v13.2
                                  DevExpress.Printing.v13.2.Core
                                  DevExpress.Data.v13.2.dll
                                  DevExpress.XtraLayout.v13.2
                                  DevExpress.XtraGrid.v13.2
                                  DevExpress.XtraEditors.v13.2
                                  DevExpress.Utils.v13.2
                                  Remove the XtraGrid and all of the references, rebuild the solution, SAP is not included in the setup.
                                  Add any one reference back to the project, rebuild the solution, SAP is included.
                                  Uninstalled SAP Crystal Reports, rebuilt the solution and the problem persists. So, maybe we can eliminate SAP Crystal Reports.
                                  Uninstalled InstallShield Limited Edition.
                                  Got the latest download of SAP Crystal Reports, version for Microsoft Visual Studio (13.0.8.1216) from http://scn.sap.com/docs/DOC-7824 and installed it.
                                  Re-installed InstallShield LE.
                                  Rebuilt the solution - problem persists.
                                  I would be willing to provide an image of my system, however I am not sure how to do that.
                                  I would need to make sure that certain files are not included.
                                  There would also be a problem sending it to you as the allowed attachment size to a ticket is very limited.

                                • A G 4 12.31.2013

                                  Ok, I've tracked it down.
                                  I installed VS2013 and InstallShield LE on a Win 7 VM. Could not install CR as it requires VS2010 or VS2012.
                                  Took the same solution I had uploaded to you and built it - no problem, did not include CR.
                                  Added the CR merge modules to C:\Program Files (x86)\Common Files\Merge Modules. Note, none were checked to include.
                                  Rebuilt the solution and it adds the SAP Crystal Reports runtime.
                                  So, it seems that simply the presence of the CR Merge Modules is a factor, but what is the link between that and DevExpress references?
                                  What's next?

                                • Gosha (DevExpress Support) 01.03.2014

                                  Hi,
                                  As far as I understand, I need to add the CrystalReportsRedist2005_x64.msm file to the "C:\Program Files (x86)\Common Files\Merge Modules" folder if I use an x64 OS. I did this, but I still can't reproduce the issue. I have attached a video to illustrate this.
                                  Would you please specify what steps you are performing and what file you are using?
                                  As for references to Crystal Reports assemblies in our assemblies, only the DevExpress.XtraReports.Design assembly contains them. None of the assemblies you are using in the provided project refers to Crystal Reports.

                                • A G 4 01.03.2014

                                  Thanks for sticking with this. There is a whole set of merge modules for CR. Download from https://global.sap.com/campaign/ne/free_trial/crystal_reports_visual_studio/wty_int_crvs.epx?Level=1&FormResultID=3c08000b-356a-4cc7-a022-caef84938ed6&ContinueURL=%2fcampaign%2fne%2ffree_trial%2fcrystal_reports_visual_studio%2findex.epx%3furl_id%3dtext-na-sapcom-crvs-trial-landing%26kNtBzmUK9zU%3d1&kNtBzmUK9zU=1
                                  Directly under the line: Merge module runtime redistribution packages (no IDE integration)
                                  Simply unzip and copy all of the merge modules to C:\Program Files (x86)\Common Files\Merge Modules

                                • Gosha (DevExpress Support) 01.03.2014

                                  Hi,
                                  Thank you for the information. Yes, I reproduced the issue on my side. InstallShield detects that the DevExpress.Data assembly depends on SAP Merge Modules. All our controls use this assembly. So, SAP Merge Modules are added to any setup project that uses our controls. You can ensure using reflector or our Decompiler that the DevExpress.Data assembly only depends on .NET Framework assemblies and does not use any third party assemblies. So, I can't imagine why InstallShield adds SAP Merge Modules as a dependency. I have tried to exclude SAP Merged Modules from a setup, but I get an error. I have attached a video to illustrate my attempts. To tell you the truth, I do not see another way to resolve the issue except removing SAP Merge Modules from the C:\Program Files (x86)\Common Files\Merge Modules folder.

                                • A G 4 01.03.2014

                                  Thank you. So, it seems to me then that the issue is totally an InstallShiled issue. I do have the issue submitted to InstallShield. http://community.flexerasoftware.com/showthread.php?213668-SAP-Crystal-Reports-Runtime-included-in-setup-when-not-used-in-project
                                   Since the issue involves your product, even though it is obviously not caused by your product, perhaps things would move along better if DevExpress would contact InstallShiled or at least post to my thread there.
                                   For now, I will move the CR merge modules to a subfolder and only move them back when building for a project that requires them.

                                • Gosha (DevExpress Support) 01.07.2014

                                  Hi,
                                  I could leave a comment in your thread to post the information I discovered, but I have no access to it. I registered on community.flexerasoftware.com, but when I go by the provided link, I get the following error:
                                  "you do not have permission to access this page. This could be due to one of several reasons:
                                      Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
                                      If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation."
                                  Maybe, your thread is private or I need additional rights to see it.

                                • A G 4 01.07.2014

                                  Thanks Gosha,
                                  I don't think they have the option of private threads.
                                  I am guessing that your account needs to be activated, or your copy of ISLE needs to registered. You should have received an email for each case.
                                  Perhaps someone higher up in DevExpress can contact someone at InstallShield? After all, their product does affect your product and it is obviously on their side.

                                • Gosha (DevExpress Support) 01.08.2014

                                  Hi,
                                  I activated my account and registered my InstallShield version. But, I can't open your thread though I can see other topics in Flexera Software community. In any case, I have emailed them and sent a copy of my message to you. Let's wait for their response.

                                • A G 4 01.08.2014

                                  Thank you, I did receive the copy and I certainly appreciate your efforts.

                                • Gosha (DevExpress Support) 01.08.2014

                                  You are welcome. Please feel free to contact us in case of any difficulty. We are happy to help you at any time.

                                • Gosha (DevExpress Support) 01.09.2014

                                  Hi,
                                  I have received a response from Flexera Software:
                                  >>>
                                  Hi Gosha,

                                  Technical Support for the InstallShield Limited Edition for Visual Studio is provided exclusively via a private community forum (http://community.flexerasoftware.com/forumdisplay.php?f=264) dedicated to this product. This forum is monitored by Flexera Software Support Engineers, and response times are typically within 48-72 hours. No phone or email support is available at this time.

                                  If you opted in to access this private support forum during the product registration process, and you do not currently have a Flexera Software community account, you should have received a separate email containing your login credentials and the specific URL. If you have an existing Flexera Software community account, it has been granted access to the private community forum. If you cannot access the private community forum or did not opt in during the registration process, please try the following link so than an account can be created or your existing account can be updated to give you access to this forum.

                                  URL: http://learn.flexerasoftware.com/content/ISLE-VS-Community-Access

                                  Sincerely,
                                  Tim

                                  Flexera Software
                                  Technical Support
                                  installshieldsupport@flexerasoftware.com
                                  <<<
                                  I finally managed to properly register to access your post and commented it. My comment is waiting for approval. I hope it will be available soon.

                                • A G 4 01.09.2014

                                  Thanks. Your comment has just been posted. Let's hope they address it.

                                • Gosha (DevExpress Support) 01.09.2014

                                  No problem. I will be happy to assist you in case of future issues.

                                • A G 4 01.27.2017
                                • Andrew Ser (DevExpress Support) 01.30.2017

                                  Hello,
                                  Let me jump into this conversation since Gosha works in another team.
                                  I got familiar with all the information you provided here and checked the Flexera forum pages you linked. From what I gather, the main point they rely on is that gdiplus.dll is loaded by DevExpress.Data. I've checked which assemblies are loaded using WinDbg and see that gdiplus.dll is loaded when no DevExpress assembly is referenced in the project.
                                  In any case, we know that moving modules to a subfolder resolves the issue. That's why the suggestion to forbid scanning for dependencies for DevExpress.Data looks promising to me. Have you tried this approach? What are your results?

                                • A G 4 01.30.2017

                                  Thanks for the reply. Yes, I have been removing the CR modules from the merge module folder. That requires adding/removing them depending on which project I am building. I was just wondering (since some time has passed), if there might be a better solution.

                                  The following suggestion was made in the Flexers thread. Would it work? Or would it cause other issues?
                                  Ideally if you look in your "Files" view (under #2) you can right click your DevExpress.xxx.yy.dll's > Properties > Com &. Net Settings > then ...
                                  change the value from: "Dependencies and Properties"
                                  change the value to: "Properties Only"

                                • Andrew Ser (DevExpress Support) 01.31.2017

                                  Hi,
                                  It is difficult to say if that suggestion will work since I don't know InstallShield internals. If we accept the assumption about gdiplus.dll Flexera, here comes an alternative solution. Is it possible to rename the CRRuntime... merge module so that another merge module (with gdiplus) is loaded?

                                • A G 4 01.31.2017

                                  Ok, thank you.