title: C# XNA publishing problems when creating files
body: <p>I've been publishing my game for me and my friend to test and I've started to make a text file in the code to use as an error log but I'm getting some problems and I can't find anything on the internet to help me.</p>
  
  <p>I want it so the user can get the installation files, install it at a custom location, run it through a shortcut and so I can create files where the user installed it for saving the game, an error log and such.</p>
  
  <p>What happens is, I make a clickonce application, but after using the setup.exe the shortcut isn't usable, it just says "program has stopped responding" because it's trying to make a file and I can't run it as administrator. I can only set administrator to the setup.exe, there's just no options for the game's shortcut or any of the clickonce applications. And I have no idea how to let the user choose an installation directory.</p>
  
  <p>I've searched through google and the msdn library but I can't find anything. It says if I don't use clickonce deployment I need another installation package but I can't find anything. I also tried modifying the app.manifest to turn:</p>
  
  <pre><code> &lt;requestedExecutionLevel level="asInvoker" uiAccess="false" /&gt;
  </code></pre>
  
  <p>to </p>
  
  <pre><code>&lt;requestedExecutionLevel level="requireAdministrator" uiAccess="false" /&gt;
  </code></pre>
  
  <p>but it won't allow me to publish it then because it's a clickonce application and if i turn it off in the security it just turns it back on when i try to publish it. Can someone please tell me my options, I just want a normal game installation like every other game it's driving me nuts I can't find anything.</p>