Click to Rate and Give Feedback

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
Deployment in Visual Studio
How to: Customize the Default Web Page for a ClickOnce Application

When publishing a ClickOnce application to the Web, a Web page is automatically generated and published along with the application. The default page contains the name of the application and links to install the application, install prerequisites, or access help on MSDN.

k5befhe3.alert_note(en-us,VS.90).gifNote:

The actual links that you see on the page depend on the computer where the page is being viewed and what prerequisites you are including.

The default name for the Web page is Publish.htm; you can change the name in the Project Designer. For more information, see How to: Specify a Publish Page for a ClickOnce Application.

The Publish.htm Web page is published only if a newer version is detected.

k5befhe3.alert_note(en-us,VS.90).gifNote:

Changes that you make to your Publish settings will not affect the Publish.htm page, with one exception: if you add or remove prerequisites after initially publishing, the list of prerequisites will no longer be accurate. You will need to edit the text for the prerequisite link to reflect the changes.

To customize the publish Web page

  1. Publish your ClickOnce application to a Web location. For more information, see How to: Publish a ClickOnce Application.

  2. On the Web server, open the Publish.htm file in Visual Web Designer or another HTML editor.

  3. Customize the page as desired and save it.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Custom ClickOnce ASPX Page      F. Chapleau   |   Edit   |   Show History

For those who want to have a dynamic, themable web page, here is a good startup.

http://www.chapleau.info/wiki/Project_ClickOnce_Advanced_Deployment_Webpage

Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker