Export (0) Print
Expand All

GenerateBootstrapper Class

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Implements the GenerateBootstrapper task. Use the GenerateBootstrapper element in your project file to create and execute this task. For usage and parameter information, see GenerateBootstrapper Task.


Namespace:  Microsoft.Build.Tasks
Assembly:  Microsoft.Build.Tasks.v4.0 (in Microsoft.Build.Tasks.v4.0.dll)

public sealed class GenerateBootstrapper : TaskExtension

The GenerateBootstrapper type exposes the following members.

Public methodGenerateBootstrapperInfrastructure. Initializes a new instance of the GenerateBootstrapper class.

Public propertyApplicationFileInfrastructure. Gets or sets the file the bootstrapper will use to begin the installation of the application after all prerequisites have been installed.
Public propertyApplicationNameInfrastructure. Gets or sets the name of the application that the bootstrapper will install.
Public propertyApplicationRequiresElevationGets or sets whether a component runs with elevated permissions when it is installed on a target computer.
Public propertyApplicationUrlInfrastructure. Gets or sets the Web location that is hosting the application’s installer.
Public propertyBootstrapperComponentFilesInfrastructure. Gets or sets the built location of bootstrapper package files.
Public propertyBootstrapperItemsInfrastructure. Gets or sets the products to build into the bootstrapper.
Public propertyBootstrapperKeyFileInfrastructure. Gets or sets the built location of setup.exe.
Public propertyBuildEngineGets or sets the instance of the IBuildEngine object used by the task. (Inherited from Task.)
Public propertyBuildEngine2Gets the instance of the IBuildEngine2 object used by the task. (Inherited from Task.)
Public propertyBuildEngine3Gets the instance of the IBuildEngine3 object used by the task. (Inherited from Task.)
Public propertyComponentsLocationInfrastructure. Gets or sets a location for the bootstrapper to look for installation prerequisites to install.
Public propertyComponentsUrlInfrastructure. Gets or sets the URL containing the installation prerequisites.
Public propertyCopyComponentsInfrastructure. Gets or sets a Boolean value that indicates whether the bootstrapper copies all output files to the path specified in the OutputPath property.
Public propertyCultureInfrastructure. Gets or sets the culture to use for the bootstrapper UI and installation prerequisites.
Public propertyFallbackCultureInfrastructure. Gets or sets the secondary culture to use for the bootstraper UI and installation prerequisites.
Protected propertyHelpKeywordPrefixGets or sets the prefix used to compose Help keywords from resource names. (Inherited from Task.)
Public propertyHostObjectGets or sets the host object associated with the task. (Inherited from Task.)
Public propertyLogInfrastructure. Gets an instance of a TaskLoggingHelperExtension containing task logging methods. (Inherited from TaskExtension.)
Public propertyOutputPathInfrastructure. Gets or sets the location to copy setup.exe and all package files.
Public propertyPathInfrastructure. Gets or sets the location of all available prerequisite packages.
Public propertySupportUrlInfrastructure. Gets or sets the URL to provide should the bootstrapper installation fail.
Protected propertyTaskResourcesGets or sets the culture-specific resources associated with the task. (Inherited from Task.)
Public propertyValidateInfrastructure. Gets or sets a Boolean value that indicates whether the bootstrapper performs XSD validation on the specified input bootstrapper items.

Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public methodExecuteInfrastructure. Executes the GenerateBootstrapper task. (Overrides Task.Execute().)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

© 2014 Microsoft