Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

How to: Publish 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.

To use ClickOnce for deployment, you must first publish the initial version of the application and have users launch it through a link to the deployment manifest. With a simple Windows Forms application, this can be done by publishing from Visual Studio. With a Composite UI Application Block application that dynamically loads modules not referenced in the Visual Studio shell project, you have to perform some extra steps to prepare the published application for deployment.

Ff649661.note(en-us,PandP.10).gifNote:
To publish your application in Internet Information Server 7, the following component is required:
  • IIS 6 Metabase and IIS 6 Configuration Compatibility
In addition, you must run Visual Studio in the context of an administrator account. By default, Windows runs applications in a limited-privilege user account even when you are logged on to the computer as an administrator. To run Visual Studio with administrative privileges, right-click the Visual Studio icon and then click Run as administrator.

To publish an initial version of a Composite UI Application Block application with the Manifest Manager Utility

  1. In Visual Studio, publish the shell application.
  2. Open the Manifest Manager Utility, and then open the deployment manifest.
  3. Select the additional files you need to add to the application.
  4. Save the manifests.
  5. Provide your users with a URL to the deployment manifest.

For more information about this procedure, see Automated: Publishing an Initial Version.

To manually publish an initial version of a Composite UI Application Block application

  1. In Visual Studio, publish the shell application.
  2. Copy the modules that will be dynamically loaded into the shell to the publish folder, and then add .deploy file name extensions to them.
  3. Run Mageui.exe and update the application manifest to include the modules and any associated file resources.
  4. Save and sign the application manifest.
  5. In Mage, open the deployment manifest, and then refresh the application manifest reference.
  6. Save and sign the deployment manifest.
  7. Provide a URL to the deployment manifest to your users.

For more information about this procedure, see Manual: Publishing an Initial Version.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.