Forum Discussion
Updating an MSIX application via SCCM
michalkala123 In my testing, I found the following:
Locally installing, if I install the original version and leave it running, and then install the update version (with matching FamilyName), the update install will close the running app (without notice) and then install the update version.
Using SCCM and deploying as msix packages and using the higher-priority deployment type method, if the app is running the SCCM agent downloads the installer to the SCCM cache but holds off the installation. The next time the evaluation cycle runs and the app is not in use it will be installed. This is likely to be "by design" and would be consistent with other SCCM deployment types (except for App-V which is built to handle it).
I also tested deploying the update by adding into SCCM as a New Application that is marked to Supersede the old one. The new application may have a different name using this method, and you must not only add supersedence but mark the old deployment type to be uninstalled in the new application supersedence definition. In this scenario, if the old app is running, it is killed and the new install happens right away. This is probably not the behavior your users want.
TIMOTHY_MANGAN closing the application without warning is of course not wanted and yes when I test local install and update I get the same result as you. I was hoping that I could deploy the update via SCCM without forcing users to close the app and it would prepare the update in the background and when user closes it, it will apply.
- jvintzelJul 15, 2019Former Employee
- Tim ManganJul 15, 2019MVP
jvintzel ConfigMan has a checkbox for that, it just didn't seem to do anything (yet).
Good to hear about upcoming deferral. If app is in a partially deployed state, please also add a pending state to the PowerShell so we can detect this.
Tim
- michalkala123Jul 15, 2019Copper Contributor
jvintzel great, I am looking forward to this!
Shall I report this to ConfigMgr team or do you mean that they are aware already?
- jvintzelJul 12, 2019Former Employee
michalkala123 Its a discussion item for ConfigMgr to stage the package and not register it during a deployment. We are looking to improve the overall download experience for MSIX in ConfigMgr in an upcoming release (TBD). We are also adding functionality to the an upcoming version of Windows to stage the package and defer the installation if the app until the next launch if the app is in use to help with these scenarios.
John.
- Jul 12, 2019
michalkala123 Well you could always package and deploy using App-V.