Link to home
Start Free TrialLog in
Avatar of MKItani
MKItani

asked on

Setup And Deployment C# Application+vs 2008

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,
 
Avatar of Lord_Death
Lord_Death

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
Avatar of MKItani

ASKER

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")
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
Avatar of MKItani

ASKER

TU a lot,
 but you don't answer me concerning  "localized resources" is just for  the "Project3" or also Project1 and Project2
No only for Project3 because it is the main project as you said,
and two others are just class libraries as i assume.
Avatar of MKItani

ASKER

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,
ASKER CERTIFIED SOLUTION
Avatar of Lord_Death
Lord_Death

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial