How to: Specify the ClickOnce Install Mode
The Install Mode for a ClickOnce application determines whether the application will be available offline or online. When you choose The application is available online only, the user must have access to the ClickOnce publishing location (either a Web page or a file share) in order to run the application. When you choose The application is available offline as well, the application adds entries to the Start menu and the Add or Remove Programs dialog box; the user is able to run the application when they are not connected.
The Install Mode can be set on the Publish page of the Project Designer.
Note The Install Mode can also be set using the Publish wizard. For more information, see How to: Publish a ClickOnce Application.
To make a ClickOnce application available online only
With a project selected in Solution Explorer, on the Project menu, click Properties.
Click the Publish tab.
In the Install Mode and Settings area, click the The application is available online only option button.
To make a ClickOnce application available online or offline
With a project selected in Solution Explorer, on the Project menu, click Properties.
Click the Publish tab.
In the Install Mode and Settings area, click the The application is available offline as well option button.
When installed, the application adds entries to the Start menu and to Add or Remove Programs in Control Panel.
See Also
Tasks
How to: Publish a ClickOnce Application
Concepts
Choosing a ClickOnce Deployment Strategy