title: deployment of a windows 8 application
body: <p>When I compile my app in visual studio 2012 RC, I can see a <code>bin\</code> folder generated in the project source folder as expected, in which there is a foo.exe, looks like the entry of the app. When I start debugging the app, its icon is put on the start screen and I can find a new folder created at</p>
  
  <blockquote>
    <p>C:\Users\someone\AppData\Local\Packages\xxxxx_xxxxxx</p>
  </blockquote>
  
  <p>But I can't find foo.exe in this folder, even after I searched the whole disk. It seems the win8 application has a different installation/deployment mechanism than old windows programs. My questions are:</p>
  
  <p>(1) how/where the win8 app is deployed/installed?</p>
  
  <p>(2) I want to use <code>\AppData\Local\Packages\xxxxx_xxxxxx\LocalState</code> as a local data folder(which equals to <code>ApplicationData.Current.LocalFolder</code> in the code), but the whole folder is deleted when right click the start screen icon and press "uninstall", without any warning. Any better place to store local data? Or I need SQLite? For example, my app writes all crash messages in <code>error.txt</code>, obviously I can't use sqlite in this case, and if I put <code>error.txt</code> in LocalState folder, users may already uninstalled the app, before I go to him to see what's in <code>error.txt</code>. Another scenario is: a user want to uninstall the app, but keep his local data(files). Obviously ApplicationData.Current.LocalFolder is not a good choice.</p>