title: C# service create registry on install
body: <p>I am new C#, so bear with me.</p>
  
  <p>I have a solution in Visual Studio 2017 community edition, which includes</p>
  
  <ol>
  <li><p>A C# service project</p></li>
  <li><p>A setup project to install the C# service.</p></li>
  </ol>
  
  <p>All the install works fine and the service is running and working as well.</p>
  
  <p>I want to make the installer to create some registry entries. Under </p>
  
  <p>HKLM\Software\Elemer\ServiceName</p>
  
  <p>On the setup project I have right clicked - View - Registry and added my items in here.
  On the registry key I have:</p>
  
  <blockquote>
    <p>AllwaysCreate - <code>True</code></p>
    
    <p>Condition: <code>&lt;blank&gt;</code></p>
    
    <p>Deleteatuninstall : <code>True</code></p>
    
    <p>Transitive: <code>False</code></p>
  </blockquote>
  
  <p>But this not seem to work at all.</p>
  
  <p>What am I missing ???</p>