Connecting Tech Pros Worldwide Forums | Help | Site Map

Only one setup project works in a solution with several setup projects

Newbie
 
Join Date: Dec 2007
Posts: 1
#1: Oct 17 '08
In VS2005 I have a working setup project that installs several CABs with the main app. I also need to have a setup project that only installs the app itself. I created a new setup project and added the build output of the deployment CAB, and the primary output from my custominstaller dll class. So the only difference between the first, working setup project and the new app-only project is that I didn't inlcude the additional CABs and INIs in the app-only project (by design, as mentioned earlier).

The problem is that when I run the new, app-only setup none of the code in my CustomInstaller dll is being fired. I know this because currently that dll is supposed to move the files from a temp directory to the ActiveSync directory for installation on the device and when the second "broken" installer is run, none of the files get moved from the temp directory. The Setup interface indicates a successful install, inlcuding the message to check the device for any additional instructions, but none of the files ever get put on the device.

If I'm using the same deployment CAB and installer dll in the two projects, then why will one work, but not the other? What am I missing here?

Thanks for any help/suggestions!

RedSon's Avatar
Site Moderator
 
Join Date: Jan 2007
Location: America
Posts: 3,393
#2: Nov 12 '08

re: Only one setup project works in a solution with several setup projects


Are you certain that you are deploying the correct project? When you hit F5 or Run on VS2005 it runs your default project not any other projects. To run the other projects independently you need to right click on the project and run it that way.
Reply