UseTempFiles Property

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation UseTempFiles Property
Gets or sets a flag indicating whether temporary files are created and used during compression.
Declaration Syntax
C# Visual Basic Visual C++
public bool UseTempFiles { get; set; }
Public Property UseTempFiles As Boolean
	Get
	Set
public:
property bool UseTempFiles {
	bool get ();
	void set (bool value);
}
Property Value
Boolean
True if temporary files are used; false if compression is done entirely in-memory.
Remarks
The value of this property is true by default. Using temporary files can greatly reduce the memory requirement of compression, especially when compressing large archives. However, setting this property to false may yield slightly better performance when creating small archives. Or it may be necessary if the process does not have sufficient privileges to create temporary files.

Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.9.1006.0)