title: How can I set application settings at install time (via installer class)
body: <p>I have a Visual Studio setup project that has an Installer class. In the installer class I set a setting as follows:</p>
  
  <pre><code>MessageBox.Show(Properties.Settings.Default.MySetting);
  
  Properties.Settings.Default.MySetting = "Foo";
  Properties.Settings.Default.Save();
  
  MessageBox.Show(Properties.Settings.Default.MySetting);
  </code></pre>
  
  <p>The problem is that even though I know that this code is being executed (I am doing other stuff), the setting is never set!!</p>
  
  <p>The message boxes do suggest that the value is being set, but when I go to the <code>.config</code> file the value is still blank!</p>
  
  <p>Anyone have any ideas why and/or a possible workaround?</p>