Click here to Skip to main content
15,878,430 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have added prerequisites for my setup project from properties->build->prerequisites->selected those packages i needed. but while installing that setup project thats not installing any of the prerequisites. with clickonce its installing. but i need it with setup project.
Posted

1 solution

1) Go to Solution Explorer.

2) Right click on setup project.

3) Click on Properties.

4) Click on Prerequisites button.

5) Select your packages.

6) Below to that, Select second option radio button i.e. Download prerequisites from the same location as my application.

7) Build the application.

Now your build with your required prerequisites in it.

Hope this helps. :)
 
Share this answer
 
Comments
ManjIndian 26-Sep-12 8:01am    
but it showing 57 errors... :(
Error 1 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\aspnet.msp' in item '.NET Framework 3.5 SP1' can not be located on disk.
ManjIndian 26-Sep-12 8:09am    
NET Framework 3.5 SP1 is removed from prerequisites list and now there is no error. but again that prerequisites are not installing.. :(
plzz help.............
Sushil Mate 26-Sep-12 8:32am    
i guess u didn't follow the step 6.

6) Below to that, Select second option radio button i.e. Download prerequisites from the same location as my application.
ManjIndian 26-Sep-12 8:42am    
yes.... i selected the second radio button... but its not installing any of the prerequisites... :(
Sushil Mate 27-Sep-12 0:50am    
When selecting "Download prerequisites from the same location as my application" option, the prerequisite is retrieved from it's original location (in Program Files).

However, this works only if the prerequisite package exists. If the package doesn't exist, you need to either download it from the vendor's website or manually set the location.

If you still want to use the same location as your application, you need to modify the prerequisite information and make sure that its package is present on your machine. Perhaps this will help: http://danycxxx.blogspot.com/2009/09/download-prerequisites-from-same.html

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900