MSDN > 論壇首頁 > Crystal Reports for Visual Studio > Visual Studio .Net 2008 Crystal Reports deployment
發問發問
 

提議的解答Visual Studio .Net 2008 Crystal Reports deployment

  • 2007年12月22日 下午 10:59bharky 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

     

    Hi,

     

    Do you know if there is a way to deploy the projects including crystal reports to other computers?

     

    I wrote an application in vs2005 and used the merge module "CrystalReportsRedist2005_x86.msm" to deploy it on another computer and it worked successfully.

     

    But when I converted and opened my project in vs2008 and tried to deploy with the same merge modules of 2005, it failed.

     

    Are there any merge modules for vs2008, and if so where can i find them?

     

    Thank you very much

所有回覆

  • 2007年12月30日 下午 08:05Parsaee 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

     

    Create one project (Class Library Type) from type .Net Framework 2.0 and create new rpt files at that.
  • 2008年1月2日 下午 10:22Robert McArthur 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    It appears Business Objects does not have a merge module for Crystal Reports 2008 Basic which is the version installed with Visual Studio 2008.  You need to install from the MSI that was installed with visual studio that is on your system.

     

    Here is the website with the location of the file:

     

    http://msdn2.microsoft.com/en-us/library/ms225231.aspx

     

    You may be able to run the msi after you run your install automatically from a setup and deployment application.

     

    Hope this helps

     

    Robert McArthur

     

     

  • 2008年1月2日 下午 10:32bharky 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    I will try to do that *** soon as possible and let you know the results

     

    thank you

  • 2008年1月2日 下午 10:41Robert McArthur 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

     

    Bharky,

     

    I was in the same boat.... It works.... I am currently modifing my setup and deployment app to try and run the crystal reports msi after the install of my app.  There seems to be quite a bit of help on the net to show you how to launch an executable after running your install.

     

    Good Luck,

     

    Robert

     

  • 2008年2月14日 下午 11:14cwest 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    Same issue here. Robert, did you ever figure out how to install the CR Redist in your deployment? I'm using installshield 2008 express and it doesn't look as though I can launch an msi from within an msi. I was wondering if anyone has figured out another way to deploy the .net crystal reports requirements.

  • 2008年2月15日 上午 11:40Robert McArthur 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     提議的解答

    cwest,

     

    I have the professional edition of Visual Studio 2008 and have never played with 2008 express edition.  After poking around in VS 2008 Setup and Deployment project I found a the following:

     

    1) Right Click on setup project in the solution explorer

    2) Click Properties

    3) There is a button called "Prerequisites" click it

    4) in the list you will find "Crystal Reports Basic for Visual Studio 2008(x86, x64)

    5) Check it off

     

    After doing that your project will now include the CRRedist Files.

     

    When you run the install it will install them and everything works fine.

     

    As I said. I have only done this for Visual Studio 2008. I don't know if this feature exists in Express.

     

    On a side note. I spoke with Business Objects at the beginning of January and they told me they are going to post a .msm (merge module)for VS 2008 on their download site as soon as Visual Studio 2008 is officially launched.   (I just looked and it's still not posted. They only have VS 2005, 2003, 2002)

     

    http://support.businessobjects.com/downloads/runtime.asp

     

    Do not confuse Crystal Reports 2008 runtime files with Visual Studio Runtime files, as this is the full blown Crystal Reports.  The version shipped with Visual Studio 2008 is "Crystal Reports 2008 Basic" (version 10.5)

     

    Hope this helps.

     

    Robert 

  • 2008年2月15日 下午 05:55cwest 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    Robert,

    Thank you for your insightful and timely response! While you've provided great information, I'm afraid we miscommunicated on one of the primary points that I'm struggling with. I'm using InstallShield 2008 express to create my msi installer, not VS 2008.  

     

    Charles

  • 2008年2月15日 下午 07:38Robert McArthur 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Sorry about that. I just saw express and didn't catch the installshield... Must learn to read. LOL. Either way I guess that you may have to wait until Business Objects releases a .msm

    Robert
  • 2009年5月1日 下午 04:43sramanu 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Hey,

    I am new to Visual Studio and developed a project in vb.net, using VS2008, SQL server 2005 and crystal reports. Now, I want to deploy my project to  clients machine. I added the CRRedist2008_x86.msi as a File in the deployment project. I am not sure, whether this would run the crystal report msi before installing my deployment project.

    Also, I dont want to share my SQL server logon credentials to clients. Can someone please tell me how to send these credentials to the Crystal Report programmatically?

    Help Needed Urgently!!

    Thanks in anticipation!!