views:

32

answers:

2

hi

i want to distribute my C# program and i want to combine

FrameWork2.0 in my installation.

how i can do it - without download FW2.0 from the Web ?

i need that the FW2.0 will be part of my installation and when the

customer will install the program - the FW2.0 will be install (without internet)

thank's in advance

+1  A: 
  1. Open your setup project properties.
  2. Click on the Prerequisites button.
  3. Choose "Download prerequisites from the same location as my application".
  4. Click Ok.
  5. Rebuild the project.

Now the Framework 2.0 with other dependent packages should be created along with the setup in your project output folder.

Zuhaib
so simple.....and so work's.........
Gold
thank's for the help, and how to combine ActiveSync 4.5 in my installation ?
Gold
If ActiveSync is one of the dependencies .. then it will also be included .. or else in the same dialog if you can See ActiveSync in the list .. then check it .. If it is not present in the prerequisites list .. then you can create custom installation packages .. see this answer http://stackoverflow.com/questions/3785916/net-c-install-project-including-other-packages-problem/3786105#3786105
Zuhaib
i can's see ActiveSync in the list - and i use it
Gold
Then you can create your own packages and add it to your setup dependencies .. check the link in my previous comment.
Zuhaib
and what i need to check if my program need to work with access on computer that dont has access ? (where is the MDAC)
Gold
You can add MDAC as merge module to your setup project.How TO: http://support.microsoft.com/kb/320788
Zuhaib