Solved

Setup And Deployment C# Application+vs 2008

Posted on 2011-09-15
7
366 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
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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

772 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