IAppxPackageWriter interface (appxpackaging.h)

Provides a write-only object model for app packages.

Inheritance

The IAppxPackageWriter interface inherits from the IUnknown interface. IAppxPackageWriter also has these types of members:

Methods

The IAppxPackageWriter interface has these methods.

 
IAppxPackageWriter::AddPayloadFile

Adds a new payload file to the app package.
IAppxPackageWriter::Close

Writes footprint files at the end of the app package, and closes the package writer object's output stream.

Remarks

This object can be retrieved using the CreatePackageWriter method of the IAppxFactory interface.

Examples

For an example, see How to create an app package.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header appxpackaging.h

See also

IAppxPackageReader