Forum Discussion
How to create a MSIX package for a WPF app that doesn't have an MSI
- May 29, 2019
I'm not entirely sure what you mean by enabling automatic updates?
By virtue of being MSIX, if you create a new MSIX with the same package name and publisher but an updated version number, you will automatically get delta update behavior.
You would need to extend your build system to increment the version numbers of your package yourself. It also will not automatically push these packages to other machines for you.
If that is a scenario for you, you might find the appinstaller file a viable option: https://docs.microsoft.com/en-us/windows/msix/app-installer/app-installer-file-overview. You could potentially craft your build system to place the MSIX file onto a well known share and then configure the appinstaller file to look for updates when your users launch the app.
Thanks!
James
HiJames Pike and thanks for the reply
I managed to get it to work using MakeAppx.exe but does it also support enabling automatic updates for the package?
Regards Valdimar Thor
I'm not entirely sure what you mean by enabling automatic updates?
By virtue of being MSIX, if you create a new MSIX with the same package name and publisher but an updated version number, you will automatically get delta update behavior.
You would need to extend your build system to increment the version numbers of your package yourself. It also will not automatically push these packages to other machines for you.
If that is a scenario for you, you might find the appinstaller file a viable option: https://docs.microsoft.com/en-us/windows/msix/app-installer/app-installer-file-overview. You could potentially craft your build system to place the MSIX file onto a well known share and then configure the appinstaller file to look for updates when your users launch the app.
Thanks!
James
- ValdimarThorJun 03, 2019Copper Contributor