Auto-update doesn't work for some users (sideloaded MSIX package)

Copper Contributor

We have a WPF app that we're sideloading off our network with an MSIX package.  We have it set up to pop up the update window when the program starts if there's a new update.  However, there are a couple of users who don't get this window when they run the program. 

 

I can think of one possible cause.  We have been editing the C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VisualStudio\v16.0\AppxPackage\Microsoft.AppxPackage.Targets file to get rid of the _Test suffix on the installation directory.  There was a time where Visual Studio was updated and we forgot to change those and wound up making a few weeks of directories with the _Test on them, but most of them do not.  Don't ask me why we got in this situation.  Anyway, could that have an effect on it?  Maybe these two use installed it when the directory was named _Test (but now the directories don't have that suffix)?  We do weekly updates to the program and we have every version in a subdirectory.  The MSIX package thing deploys it that way for us.

1 Reply

Hi @mgregory22,

 

I have just a few follow-up questions to help figure out the issue. I take it you are using an App Installer file to manage your updates?

 

Its  possible if there is a mis-match between the app package family name, it isn't updating properly. You can check the app package family name by using this powershell command.

 

Best,

Sharla