Applying an Update To a Catalog
[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
Note
This is not normally done except for diagnostic purposes—for instance, to help verify that a difference file is valid. The catalog generated in this way is not in compressed form and should not be passed to Windows Media Player.
A new catalog file can be created by using the syntax below, where inputcatalog is the location of the original catalog, and inputdiff is the location of the difference file to apply. The catalog files must be in uncompressed form.
catcomp applydiff <inputcatalog> <inputdiff>
For example, the following creates a new catalog from C:\Catalog210\catalog.wmdb and C:\Catalog210\catalog.diff.
catcomp applydiff C:\Catalog210\catalog.wmdb C:\Catalog210\catalog.diff
If compilation is successful, catcomp.exe creates the follow output files.
File name | Description |
---|---|
catalog.wmdb.new | New catalog file. |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for