Solved

Setup And Deployment C# Application+vs 2008

Posted on 2011-09-15
7
369 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
Independent Software Vendors: 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

690 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