Solved

Setup And Deployment C# Application+vs 2008

Posted on 2011-09-15
7
362 Views
Last Modified: 2012-05-12
Hi All,
I need to create a window setup to my project but i don't know how. i read on the internet and i take a brief information about how i can create a setup project from visual studio and  i have added one to my solution.
then i get another window is File system.
the project build order in my project is as follow
Project3
Project2
Project1
since i have one main project is Project1 and Two DLL projects are Project2 and Project3.
but now how i can continue?

regards,
 
0
Comment
Question by:MKItani
  • 4
  • 3
7 Comments
 
LVL 2

Expert Comment

by:Lord_Death
Comment Utility
In your Setup project you have to add the Primary Output of your Project1 and any other files you need (e.g. Icons ,XML Files , resources) into Application Folder and then create a ShortCut of that OutPut into users Desktop Folder.

You will see Project1 & Project2 Dlls in Dependencies part

build the setup project with your information and you are ready to go
0
 

Author Comment

by:MKItani
Comment Utility
TU a lot,
is i need to add the Project2 and Project3 as primary Output?
"The localized resource " is it important to added and what is meaning?
and in case yes, is i need to added for each one ("Project1 Project2 Project3")
0
 
LVL 2

Expert Comment

by:Lord_Death
Comment Utility
No because Project1 already has referenced Project2 and Project3 so they will be automatically added as Project1's Primary output.

yes add the localized resources also to the Application Folder, its for localization e.g another languages of forms.

http://msdn.microsoft.com/en-us/library/2kt85ked.aspx
http://www.dotnetspider.com/resources/27673-Creating-Setup-Deplyment-Project.aspx
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:MKItani
Comment Utility
TU a lot,
 but you don't answer me concerning  "localized resources" is just for  the "Project3" or also Project1 and Project2
0
 
LVL 2

Expert Comment

by:Lord_Death
Comment Utility
No only for Project3 because it is the main project as you said,
and two others are just class libraries as i assume.
0
 

Author Comment

by:MKItani
Comment Utility
ok TU a lot,

also the project2 and project3 involve each one a crystal report and when i install the program on a stand alone PC i get this error:
"Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=10.5.3700.0, Culture=neutral"

then i went to assembly and i added the CrystalDecisions.Windows.Forms.dll
then i get another error:
"Could not load file or assembly 'CrystalDecisions.Shared, Version=10.5.3700.0, Culture=neutral"
then i added the dll,
then i get another error related to crystal report

how i can know the requirement dll to added once?

regards,
0
 
LVL 2

Accepted Solution

by:
Lord_Death earned 500 total points
Comment Utility
in prerequisites part in the bootstrapper you have to add the CrystallReport installer package or the Merge Module.
right click on setup project , then prerequisites button and there add needed packages
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now