title: Access is denied when trying to CreateFileAsync in InstalledLocation StorageFolder?
body: <p>I got Access is denied when trying to CreateFileAsync in InstalledLocation StorageFolder</p>
  
  <pre><code>StorageFolder storageFolder = Windows.ApplicationModel.Package.Current.InstalledLocation;
  StorageFile file = await storageFolder.CreateFileAsync("fileNmae", Windows.Storage.CreationCollisionOption.ReplaceExisting);
  </code></pre>
  
  <p>Also I tried</p>
  
  <pre><code>var storageFolder = await StorageFolder.GetFolderFromPathAsync("ms-appx:///");
  </code></pre>
  
  <p>And got "value does not fall within the expected range"</p>
  
  <p>I can go around and <code>CreateFileAsync</code> in <code>Windows.Storage.ApplicationData.Current.LocalFolder</code> then <code>CopyAsync</code> to InstalledLocation StorageFolder?</p>
  
  <pre><code>StorageFolder storageFolder = Windows.Storage.ApplicationData.Current.LocalFolder;
  StorageFile file = await storageFolder.CreateFileAsync("fileName", Windows.Storage.CreationCollisionOption.ReplaceExisting);
  
  StorageFolder installedLocationFolder = Windows.ApplicationModel.Package.Current.InstalledLocation;
  var result = await file.CopyAsync(installedLocationFolder, "fileName", Windows.Storage.NameCollisionOption.ReplaceExisting);
  </code></pre>
  
  <p>but <code>CreateFileAsync</code> in InstalledLocation StorageFolder gives Access denied ?
  is that because of security reason or I'm coding something wrong here?</p>