Solved

Setup And Deployment C# Application+vs 2008

Posted on 2011-09-15
7
368 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 2

Expert Comment

by:Lord_Death
ID: 36547663
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
ID: 36547856
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
ID: 36547974
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:MKItani
ID: 36548869
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
ID: 36549232
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
ID: 36553370
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
ID: 36555704
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

730 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