• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5503
  • Last Modified:

Steps required to create setup project in VS2010 and add below prerequisites software in it

I need steps required to create setup project in VS2010 for a windows application and add below prerequisites software in it.

Microsoft Visual Basic PowerPacks 10.0
SAP Crystal Reports Runtime Engine for .NET Framework 4.0
Microsoft .NET Framework 4 (x86 and x64)
Microsoft Office 2007 Primary Interop Assemblies
Microsoft .NET Framework 4 Client Profile (x86 and x64)
Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)

The above softwares need to be included in the pacakage and needs to be installed before installing my product. Also I have various crystal reports (rpt files) in my project how to include them and also include many xls file templates which are in my project.

Could someone guide me with this?
0
anbu210
Asked:
anbu210
  • 3
2 Solutions
 
Jorge PaulinoIT Pro/DeveloperCommented:
You can go to My Project - Publish tab and then select the prerequisits for your application. If you choose to download prerequisits from the same location as my application it will include the necessary files to install in the setup project.

You have also a option "Application Files" that allow you to choose what files you will include in the solution (you just need to have them on the project)
0
 
anbu210Author Commented:
Hi I have tyring to using Visual Studion installer. However I am getting error while building the setup project .

ERROR: The install location for prerequisites has not been set to 'component vendor's web site' and the file 'Crystal Reports for .NET Framework 4.0\CRRuntime_32bit_13_0_4.msi' in item 'SAP Crystal Reports Runtime Engine for .NET Framework 4.0' can not be located on disk. See Help for more information.

ERROR: The install location for prerequisites has not been set to 'component vendor's web site' and the file 'Crystal Reports for .NET Framework 4.0\CRRuntime_64bit_13_0_4.msi' in item 'SAP Crystal Reports Runtime Engine for .NET Framework 4.0' can not be located on disk. See Help for more information.


I have dowloaded separately from the SAP site both
CRRuntime_32bit_13_0_4.msi
CRRuntime_64bit_13_0_4.msi

Could you please let me know how to set the above two files as in VS2010?
0
 
anbu210Author Commented:
Never Mind I fixed the issue.

I downloaded both the msi products from http://scn.sap.com/docs/DOC-7824

and copied them to <<C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\Crystal Reports for .NET Framework 4.0>>

Then I tried to Build the Setup project Again...It worked fine.
0
 
anbu210Author Commented:
My solution fixed the issue with crystal report pre-requties
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now