Share via


Automated: Deploy an Initial Version of an Application

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Prerequisites

This topic requires the following:

Steps

To deploy and launch the application through ClickOnce

  1. Open Internet Explorer.

  2. In the Address box, type the address of the deployment manifest (https://localhost/ConfigurationModularity/ConfigurationModularity.application), and then press ENTER. This launches the ClickOnce application. Figure 1 illustrates the Launching Application dialog box.

    Ff921091.6e6a9825-b897-4459-a1d5-52acc741da8a(en-us,PandP.10).png

    Figure 1
    ClickOnce Launching Application dialog box

  3. In the Application Install - Security Warning dialog box, click Install. By default, the security permissions for a ClickOnce publication are set to request Full Trust for the application, which is more than the launch zone (Local Intranet in this case) would grant. Figure 2 illustrates this dialog box.

    Ff921091.39496bc4-45cf-4dbf-bc2f-cbe0e519a2c1(en-us,PandP.10).png

    Figure 2
    ClickOnce Security Warning dialog box

  4. Click Install to elevate the permissions for the application to Full Trust.

    The application downloads to the client computer from the deployment server and a progress dialog box is presented while the files are downloading (see Figure 3).

    Note

    To capture the dialog box in Figure13, an artificial large file was added. Your file size will be much smaller and this dialog box will only appear momentarily.

    Ff921091.a2633ce0-02f4-4db4-a9db-565d10c50ca7(en-us,PandP.10).png

    Figure 3
    Download progress dialog box

  5. Verify that the application starts and that module A, module B, and module D are loaded onto the screen. Click the Load Module C button to on-demand load module C to confirm that on-demand loading also works.

  6. Close the application.

To run the application from the start menu

  • On the taskbar, click Start, point to All Programs, look for a group named the same as the company that is set for your computer (the company shown in the splash screen when you start Visual Studio under your name), and then click ConfigurationModularity.

After ClickOnce checks the server to see whether there are any updates available on the deployment server, the application launches from the locally cached version.

Outcome

You have a ClickOnce deployed version of the ConfigurationModularity QuickStart application installed on your computer. You can run this application at any time by clicking the shortcut for it on the Start menu. You can remove the application using Add or Remove Programs.

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.