We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now


How to Change File Location in a Setup Program in Visual Studio 2003 .NET

Medium Priority
Last Modified: 2012-05-11
I am maintain an application that is a written in Visual Studio 2003 .NET.  The application (called "Solution" in Microsoft terminology) is actually a combination of 10 different projects that is corresponding to one EXE and 9 different DLLs.  It has a Setup program to install this application.  And we have a project that creates that Setup program.  The problem is that that Setup program has never been refreshed in the last 6 years.  We have been relying on Auto-Update to keep everyone's copy of the application to up-to-date.  Relying on Auto-Update has its problem.  Therefore, I am trying to get this Setup program to be up-to-date.  But I am not familiar with how to change the settings in the project that creates that Setup program.  Please help.

What I have a problem with has to do with the locations of the various DLL files have been changed.  The project file for the Setup program is still pointing to the "Release" folders.  That was fine back then.  But the current file locations are in "Debug" folders.  Therefore, the project is picking up the wrong files.  I would like to correct the file locations.  But I cannot find a way to change.  Do I have to remove all the file references from the project and then add them back?  How's about the existing "dependencies"?  What should I do about them?

Please let me know.  Thanks.

Jay Chan
Watch Question

Unlock this solution with a free trial preview.
(No credit card required)
Get Preview


Thanks for letting me know that I need to start over the Deployment project.  This fixes the problem.

One thing that I need to add is that I needed to write down all the files added to the deployment project (and all the dependencies just in case) before I delete all the file referenced in the deployment project.  This helps me to add them back because some of the files are not obvious.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.