MicrosoftDocs / msix-docs

repository for msix content
Creative Commons Attribution 4.0 International
59 stars 114 forks source link

Automatic updates are not working #288

Open jon-peel opened 2 years ago

jon-peel commented 2 years ago

Hello, I have tried implementing the steps on this page, but auto-updating is not working.

It generates the app installer and the HTML, and I can put that into IIS. I am able to use that to install the app where I need it, but if I upload a new version my apps never update, I need to run the installer manually again.

The code I am using in my build step is:

- task: VSBuild@1
  displayName: 'Buildpackage $(project)'
  inputs:
    solution: '$(project)'
    platform: 'x64'
    configuration: '$(buildConfiguration)'
    msbuildArchitecture: 'x64'
    msbuildArgs: '/p:AppxBundlePlatforms="$(buildPlatform)" 
                  /p:AppxPackageDir="$(appxPackageDir)" 
                  /p:UapAppxPackageBuildMode=SideloadOnly
                  /p:AppxBundle=Never
                  /p:GenerateAppInstallerFile=true
                  /p:AppInstallerUri="https://Redacted.com/CommInstaller/"
                  /p:AppInstallerUpdateFrequency=1
                  /p:AppInstallerCheckForUpdateFrequency=OnApplicationRun
                  /p:AppxPackageSigningEnabled=true
                  /p:PackageCertificateThumbprint="" 
                  /p:PackageCertificateKeyFile="$(signingCert.secureFilePath)"
                  /p:PackageCertificatePassword="Redacted"
                  '

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

HarshadaKshirsagar commented 2 years ago

Sorry for the delay in responding. Can you please share the Windows build the issue is happening with? Also, can you submit a repro of the issue through Feedback hub?