// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
namespace WixToolset.BootstrapperApplicationApi
{
///
/// Package information from the BA manifest.
///
public interface IPackageInfo
{
///
/// The authored cache strategy for this package.
///
BOOTSTRAPPER_CACHE_TYPE CacheType { get; }
///
/// Place for the BA to store it's own custom data for this package.
///
object CustomData { get; set; }
///
/// The package's description.
///
string Description { get; }
///
/// The authored bal:DisplayInternalUICondition.
///
string DisplayInternalUICondition { get; }
///
/// The package's display name.
///
string DisplayName { get; }
///
/// The package's Id.
///
string Id { get; }
///
/// The authored InstallCondition.
///
string InstallCondition { get; }
///
/// The authored RepairCondition.
///
string RepairCondition { get; }
///
/// Whether the bundle should ever recommend the package to be uninstalled.
///
bool Permanent { get; }
///
/// Whether the package should be installed by the prereq BA for managed bootstrapper applications.
///
bool PrereqPackage { get; }
///
/// The file name of the license file to be shown by the prereq BA.
///
string PrereqLicenseFile { get; }
///
/// The URL of the license to be shown by the prereq BA.
///
string PrereqLicenseUrl { get; }
///
/// See
///
PrimaryPackageType PrimaryPackageType { get; }
///
/// The package's ProductCode.
///
string ProductCode { get; }
///
/// The type of the package.
///
PackageType Type { get; }
///
/// The package's UpgradeCode.
///
string UpgradeCode { get; }
///
/// The package's version.
///
string Version { get; }
///
/// Whether the package's failure can be ignored while executing the chain.
///
bool Vital { get; }
}
}