Applying a patch that only contains data that has changed from the previous version may require that the previous version of the updated file be installed in order to apply the delta. In this situation, the patch must request that the installer install affected advertised features before applying the patch to the game.
The sample is installed by launching InstallOnDemand. If the installer is absent,. To overcome this problem, an application should use an installation program to perform the task. This program should first check to see if the installer is present, and if so, its version. If the version does not meet the application's requirement, the installation program should install the Windows Installer, then launch the. This process is known as bootstrapping.
Applications typically name their bootstrapping installation program Setup. The sample does not handle bootstrapping. However, complete details on bootstrapping can be found in the Windows Installer. Developers should also pay attention to the size of each feature in their games. When canceling an installation in progress, the installer restores the computer to the state before the installation. This means that the installation of the feature is completely undone, and there is no partial feature installation.
A large feature requires longer time to install, which either increases the likelihood that the install will be interrupted and cancelled or the install will interfere with the main application.
An example would be enabling passive installation when the user brings up the game menu in the middle of game play. If a feature is installing and the user goes back to playing, the game can do one of two things: it can let the passive installation complete, or it can cancel the passive installation.
A large feature would fit poorly with either model. If the game lets the large installation complete, the installation may hinder the game's rendering performance for a long time. Conversely, if the game cancels the installation, then the user must stay in the menu for a long time before returning to the game.
Developers should find a balanced feature size that works best for their individual games. Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. Please rate your experience Yes No. Any additional feedback? In this article. Includes resources required at all times, regardless of level. These resources are: sample executable, media required by introduction sequence and loading screen, and. Causes the installation in progress to abort.
The worker thread then processes the next request in the queue, if one exists. Increments or decrements passive installation enable count. The sample uses this call to control when passive installation can and cannot happen. Returns the current tick position and the maximum number of ticks for passive installation. Together, the sample can use them to show the overall progress of the passive installation. Returns the progress bar tick position for the active feature set installation.
This is used when the sample renders the installation progress bar. Because the Windows Installer only provides progress information for the one feature being installed, the method divides the progress bar among the requested features so that the user still sees the entire installation as one task.
Returns the maximum progress bar tick count for the active feature set installation. Initializes the class with the product globally unique identifier GUID. This method also enumerates every feature of the application which has been advertised but not yet installed, and places it in the passive installation queue to set up the passive installation.
Private method called by UseFeatureSet. Checks if a feature is installed. If the requested feature is installed the method returns. Contents Exit focus mode. Please rate your experience Yes No. Any additional feedback? Note Pinning an online-only file makes the sync app download the file contents, and unpinning a downloaded file frees up space on the device by not storing the file contents locally. Submit and view feedback for This product This page.
View all page feedback. Get new features first. Was this information helpful? Yes No. Thank you! Any more feedback? The more you tell us the more we can help. Can you help us improve? Resolved my issue. Clear instructions. Easy to follow. No jargon. Pictures helped.
0コメント