Szkolenie
Moduł
Provide apps to users - Training
In this module, you will learn about traditional app-deployment methods, as well as methods that you can use to help to automate app deployment.
Ta przeglądarka nie jest już obsługiwana.
Przejdź na przeglądarkę Microsoft Edge, aby korzystać z najnowszych funkcji, aktualizacji zabezpieczeń i pomocy technicznej.
Often, you need to share your app with many users. Later you need to update the app and you want to make sure you can do that in a way that is seamless even for your non-technical users, and easy for you.
To help you achieve this, we introduced the App Installer file as of Windows 10 Version 1709. This is an XML file that you can create yourself or create using Visual Studio (see Visual Studio instructions here). The App Installer file specifies where your app is located and how to update it. If you choose to use this method of app distribution, you must share with your users the App Installer file, instead of the actual app container. The user must then click on the App Installer file. At this point the familiar App Installer UI will appear and guide the user through the installation. Once the user has installed the application using these steps, the application is associated with the App Installer file.
Later, when you have an update to the application, you only update the App Installer (.appinstaller) file. When you update the file, the new version of the application is pushed to the user. This is especially good for your users because they don’t have to do anything to get the update. They just keep using the application as usual, and the update will be delivered to them.
Here's an example showing how this works:
Starting in the Windows 10 Fall Creators Update (version 1709, build 16299) and later releases, the Windows SDK also provides several APIs that you can use to programmatically modify packages via App Installer files or to retrieve information about apps with an App Installer association. For more information, see Related documentation.
You can use the App Installer file to download or update your app from the web, a network share or local file share. App Installer file downloads and updates support https, http and smb protocols.
The following image shows an example App Installer file. For full details about the XML elements in the App Installer file, see the App Installer file schema reference. For more information about how to configure update settings in the App Installer file, see Configure update settings in the App Installer file.
Szkolenie
Moduł
Provide apps to users - Training
In this module, you will learn about traditional app-deployment methods, as well as methods that you can use to help to automate app deployment.
Dokumentacja
App Installer file update settings - MSIX
This article describes options for how to configure the behavior of app updates by using the App Installer file.
Auto-update and repair apps - MSIX
Overview of the auto-update and repair settings for Windows apps installed using an AppInstaller file.
Using an embedded AppInstaller file to update your app - MSIX
This article describes how to embed a pre-existing AppInstaller file into your Windows application