title: Creating Exe/MSI for C# Windows Forms using Visual Studio 2017 Setup Project
body: <p>I'm trying to create exe/msi for my solution</p>
  
  <p>it contains the following Projects </p>
  
  <p><a href="https://i.stack.imgur.com/VF6PM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VF6PM.png" alt="Projects List"></a></p>
  
  <ol>
  <li>ActiveDirectoryEngine: library used to implement AD operations</li>
  <li>ADService: windows service - performs the work in the background</li>
  <li>CryptographyEngine: library used to encrypt/decrypt data</li>
  <li>TerranovaActiveDirectoryHost: Dashboars/win form to manage/check the service's status</li>
  <li>SyncToolSetup: the setup project "it only targets TerranovaActiveDirectoryHost"</li>
  </ol>
  
  <p>Here is the contents of the Setup project:</p>
  
  <p><a href="https://i.stack.imgur.com/lYhd1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lYhd1.png" alt="Application Folder"></a></p>
  
  <p><a href="https://i.stack.imgur.com/tgIDR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tgIDR.png" alt="User&#39;s Desktop Folder"></a></p>
  
  <p><a href="https://i.stack.imgur.com/p25mB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/p25mB.png" alt="User&#39;s Program Folder"></a></p>
  
  <p>I tried the same steps for different Solution, with ONLY one windows forms application, and it worked fine, but it looks that it doesn't work when I have more than one referenced projects.</p>
  
  <p>The install and Uninstall options are not enabled</p>
  
  <p><a href="https://i.stack.imgur.com/UYrZG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UYrZG.png" alt="after build"></a></p>
  
  <p>Update:</p>
  
  <p>all the previous projects are referenced in the Win forms project, so am I targeting the right one when creating the exe/msi?</p>
  
  <p><a href="https://i.stack.imgur.com/NOa42.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NOa42.png" alt="references"></a></p>