I have a visual studio solution that consists of a wpf application (project1) and a setup project. I need this prerequisite:
when I deploy Project1 by itself everything works fine:
that is the prerequisite that I told visual studio to include...
But I want to create a Setup Wizard Project and Include my Project1 along with the extra files that I want to deploy. When I create that project, complile, recomplie with the release options selected and also the debug option selected in order to make sure I am including my project build take a look how that behaves:
** Removed... Take a look at the edit. I explain everything with more detail in there**
EDIT
I will show the steps that I perform
Steps:
Step 1)
Create console application include the prerequisites that I want to include
Step 2)
Set the target framework to .NET Framework 4
Step 3)
Set this changes in the publish tab on properties:
and
Setp 4)
Publish this solution without a a setup wizard.
Setp 5)
Launch the setup file that was just created on a different clean machine
Step 6)
Cancel the installation let's try to do the same thing with a setup project
Step 7)
Once setup1 project is created let's add Console application to the project output
Step 8)
Now my setup1 project looks like:
Step 9)
Now I build that project and export it to my other computer where I want to test the installation
Note that when I launch Setup1.exe It want's to install Windows Installer 3.1!!!! Why????
Step 10)
Ok whatever right.. Let's continue with the installaction let's accept and continue...
Now it want to install the client version and not the full!!! why?
Step 11)
Now windows download the installer (remember that I told visual studio in setting that I did not wanted to download anything...)
Step 12)
Setup1.exe now installs the client version of .net framework
Step 13-14)
Setup1.exe prompts me to install my console application I click next since the program is so small I did not had time to take a screen shot but now the installation is complete
Installation is now done