Delen via


GenerateBootstrapper Class

Definition

Generates a bootstrapper for ClickOnce deployment projects.

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

public ref class GenerateBootstrapper sealed : Microsoft::Build::Tasks::TaskExtension
public ref class GenerateBootstrapper sealed : Microsoft::Build::Tasks::TaskRequiresFramework
public sealed class GenerateBootstrapper : Microsoft.Build.Tasks.TaskExtension
public sealed class GenerateBootstrapper : Microsoft.Build.Tasks.TaskRequiresFramework
type GenerateBootstrapper = class
    inherit TaskExtension
type GenerateBootstrapper = class
    inherit TaskRequiresFramework
Public NotInheritable Class GenerateBootstrapper
Inherits TaskExtension
Public NotInheritable Class GenerateBootstrapper
Inherits TaskRequiresFramework
Inheritance
GenerateBootstrapper
Inheritance

Constructors

GenerateBootstrapper()

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

Initializes a new instance of the GenerateBootstrapper class.

Properties

ApplicationFile

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

Gets or sets the file the bootstrapper will use to begin the installation of the application after all prerequisites have been installed.

ApplicationName

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

Gets or sets the name of the application that the bootstrapper will install.

ApplicationRequiresElevation

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

Gets or sets whether a component runs with elevated permissions when it is installed on a target computer.

ApplicationUrl

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

Gets or sets the Web location that is hosting the application's installer.

BootstrapperComponentFiles

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

Gets or sets the built location of bootstrapper package files.

BootstrapperItems

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

Gets or sets the products to build into the bootstrapper.

BootstrapperKeyFile

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

Gets or sets the built location of setup.exe.

BuildEngine

The build engine automatically sets this property to allow tasks to call back into it.

(Inherited from Task)
BuildEngine2

The build engine automatically sets this property to allow tasks to call back into it. This is a convenience property so that task authors inheriting from this class do not have to cast the value from IBuildEngine to IBuildEngine2.

(Inherited from Task)
BuildEngine3

Retrieves the IBuildEngine3 version of the build engine interface provided by the host.

(Inherited from Task)
BuildEngine4

Retrieves the IBuildEngine4 version of the build engine interface provided by the host.

(Inherited from Task)
BuildEngine5

Retrieves the IBuildEngine5 version of the build engine interface provided by the host.

(Inherited from Task)
BuildEngine6

Retrieves the IBuildEngine6 version of the build engine interface provided by the host.

(Inherited from Task)
BuildEngine7

Retrieves the IBuildEngine7 version of the build engine interface provided by the host.

(Inherited from Task)
BuildEngine8

Retrieves the IBuildEngine8 version of the build engine interface provided by the host.

(Inherited from Task)
BuildEngine9

Retrieves the IBuildEngine9 version of the build engine interface provided by the host.

(Inherited from Task)
ComponentsLocation

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

Gets or sets a location for the bootstrapper to look for installation prerequisites to install.

ComponentsUrl

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

Gets or sets the URL containing the installation prerequisites.

CopyComponents

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

Gets or sets a Boolean value that indicates whether the bootstrapper copies all output files to the path specified in the OutputPath property.

Culture

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

Gets or sets the culture to use for the bootstrapper UI and installation prerequisites.

FallbackCulture

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

Gets or sets the secondary culture to use for the bootstrapper UI and installation prerequisites.

HelpKeywordPrefix

Gets or sets the prefix used to compose help keywords from string resource names. If a task does not have help keywords associated with its messages, it can ignore this property or set it to null. If the prefix is set to an empty string, then string resource names will be used verbatim as help keywords. For an example of how this prefix is used, see the TaskLoggingHelper.LogErrorWithCodeFromResources(string, object[]) method.

(Inherited from Task)
HostObject

The build engine sets this property if the host IDE has associated a host object with this particular task.

(Inherited from Task)
Log

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

Gets an instance of a TaskLoggingHelperExtension class containing task logging methods.

(Inherited from TaskExtension)
OutputPath

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

Gets or sets the location to copy setup.exe and all package files.

Path

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

Gets or sets the location of all available prerequisite packages.

SupportUrl

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

Gets or sets the URL to provide should the bootstrapper installation fail.

TaskResources

Gets or sets the task's culture-specific resources. Derived classes should register their resources either during construction, or via this property, if they have localized strings.

(Inherited from Task)
Validate

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

Gets or sets a Boolean value that indicates whether the bootstrapper performs XSD validation on the specified input bootstrapper items.

VisualStudioVersion

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

The Visual Studio version, in the form <major build.minor build>, for example "4.0".

Methods

Execute()

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

Generate the bootstrapper.

Execute()

Task entry point.

(Inherited from TaskRequiresFramework)

Applies to