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:
- Either the automated or manual procedures in How to: Publish an Initial Version of an Application must be completed.
- The Modularity\ConfigurationModularity QuickStart solution must be open in Visual Studio.
Steps
To deploy and launch the application through ClickOnce
Open Internet Explorer.
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.
Figure 1
ClickOnce Launching Application dialog boxIn 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.
Figure 2
ClickOnce Security Warning dialog boxClick 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.
Figure 3
Download progress dialog boxVerify 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.
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. |