You just need to clear the Create installation program check box to install the necessary components in the Deployment Project Properties - but consider carefully the value of this parameter.
If you do not create the setup.exe file, your program cannot be installed on machines that do not have some or all of your prerequisites.
Also, keep in mind that setup projects are no longer supported in VS2012, so itβs now worth the time to study other authoring settings, such as WiX.
source share