title: Why does the MSIX not automatically check for updates every time the application runs when sideloading is enabled?
body: <p><strong>Question:</strong></p>
  <p>Why does the MSIX not automatically check for updates every time the application runs when sideloading is enabled?</p>
  <p><strong>Context:</strong></p>
  <p>We are migrating a WPF application to Azure and have created an MSIX installer with sideloading enabled and set to check for updates every time the application launches. Accordingly, the <code>*.appinstaller</code> file is as follows:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;AppInstaller
      Uri=&quot;https://&lt;AppService&gt;.azurewebsites.net/&lt;AppName&gt;.Setup.appinstaller&quot;
      Version=&quot;1.0.1.0&quot; xmlns=&quot;http://schemas.microsoft.com/appx/appinstaller/2017/2&quot;&gt;
      &lt;MainBundle
          Name=&quot;&lt;SomeGuid&gt;&quot;
          Version=&quot;1.0.1.0&quot;
          Publisher=&quot;CN=&lt;CertificateName&gt;&quot;
          Uri=&quot;https://&lt;AppService&gt;.azurewebsites.net/&lt;AppName&gt;.Setup_1.0.1.0_Development_Test/&lt;AppName&gt;.Setup_1.0.1.0_x64_Development.msixbundle&quot; /&gt;
      &lt;UpdateSettings&gt;
          &lt;OnLaunch
              HoursBetweenUpdateChecks=&quot;0&quot; /&gt;
      &lt;/UpdateSettings&gt;
  &lt;/AppInstaller&gt;
  </code></pre>
  <p>Unfortunately, every time we publish an update to the package to Azure, the application does not <code>automatically</code> check for any updates, and so it does not prompt us to update. However, when we go to the application's published weblink and click to install, the installer will see that the application is already installed and that an update is available.</p>
  <p><strong>Troubleshooting:</strong></p>
  <p>We tried adding to the app manifest's Content URI (tab) to the <code>*.appinstaller</code> site, but that did not work. I noticed that the <code>*.appinstaller</code> is appending the text <code>_Test</code> to the path name. I am not sure why that is being added. I have tried recreating the installer package in order to rule out any potential configuration errors. Could that be the source of the problem?</p>
  <p>I have also enabled <code>Use developer feature</code> and followed all other instructions provided by Microsoft here: <a href="https://docs.microsoft.com/en-us/windows/application-management/sideload-apps-in-windows-10" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/windows/application-management/sideload-apps-in-windows-10</a></p>
  <p>Note: we tried creating a <code>ClickOnce</code> publish profile and that works. It does not make sense why sideloading works for <code>ClickOnce</code> but not <code>MSIX</code>.</p>