So I created a Setup Wizard for my VB Application and added the Exe file for it and it automatically detected and added the Dependencies for that project.

Then I changed a few other things and built that solution. I then install the solution and works out fine. I uninstall it and load up my old VB Application within the Microsoft Development Environment.

When building the VB Application I get many Type 'AxMSWinsockLib.AxWinsock' is not defined. I quickly realized that when I uninstalled my program it removed the files also needed for my project, even when they were already installed on that computer.

Is there anyway around this? I had to end up reinstalling my Test Setup to compile my project. I thought it would automatically notice dependencies that already existed and not remove them on uninstall.

Any idea what I did wrong or what I can change so it will not remove dependencies that already existed on a machine?

Thanks for any help and I hope everything that I typed was clear and used the correct termology. If you have any questions don't be shy to ask them .