Поделиться через


Deploying Applications That Reference the PrintForm Component (Visual Basic)

If you want to deploy an application that references the PrintForm component, the component must be installed on the destination computer.

Installing the PrintForm as a Prerequisite

To successfully deploy an application, you must also deploy all components that are referenced by the application. The process of installing prerequisite components is known as bootstrapping.

When the PrintForm component is installed on your development computer, a Microsoft Visual Basic Power Packs bootstrapper package is added to the Visual Studio bootstrapper directory. This package is then available when you follow the procedures for adding prerequisites for either ClickOnce or Windows Installer deployment.

By default, bootstrapped components are deployed from the same location as the installation package. Alternatively, you can choose to deploy the components from a URL or file share location from which users can download them as necessary.

Note

To install bootstrapped components, the user might need administrative or similar user permissions on the computer. For ClickOnce applications, this means that the user will need administrative permissions to install the application, regardless of the security level specified by the application. After the application is installed, the user can run the application without administrative permissions.

During installation, users will be prompted to install the PrintForm component if it is not present on the destination computer.

As an alternative to bootstrapping, you can pre-deploy the PrintForm component by using an electronic software distribution system like Microsoft Systems Management Server.

See Also

Tasks

How to: Install Prerequisites in Windows Installer Deployment

How to: Install Prerequisites with a ClickOnce Application

Concepts

Choosing a Deployment Strategy

PrintForm Component (Visual Basic)