Security Property

Microsoft Deployment Tools

Deployment Tools Foundation Security Property
Gets or sets the Security summary information property.
Declaration Syntax
C# Visual Basic Visual C++
public int Security { get; set; }
Public Property Security As Integer
public:
property int Security {
	int get ();
	void set (int value);
}
Remarks

The Security summary information property conveys whether the package should be opened as read-only. The database editing tool should not modify a read-only enforced database and should issue a warning at attempts to modify a read-only recommended database. The following values of this property are applicable to Windows Installer files:

  • 0 - no restriction
  • 2 - read only recommended
  • 4 - read only enforced

This property should be set to read-only recommended (2) for an installation database and to read-only enforced (4) for a transform or patch.

Win32 MSI APIs: MsiSummaryInfoGetProperty, MsiSummaryInfoSetProperty

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller) Version: 3.0.0.0 (3.5.1623.0)