How to: Enable AutoStart for CD Installations
When deploying a ClickOnce application by means of removable media such as CD-ROM or DVD-ROM, you can enable AutoStart so that the ClickOnce application is automatically launched when the media is inserted.
AutoStart can be enabled on the Publish page of the Project Designer.
To enable AutoStart
With a project selected in Solution Explorer, on the Project menu click Properties.
Click the Publish tab.
Click the Options button.
The Publish Options dialog box appears.
If you are using Visual Studio 2008 SP1, click Deployment.
Select the For CD installations, automatically start Setup when CD is inserted check box.
An Autorun.inf file will be copied to the publish location when the application is published.
See Also
Tasks
How to: Publish a ClickOnce Application
Concepts
Other Resources
Publishing ClickOnce Applications
Change History
Date |
History |
Reason |
---|---|---|
July 2008 |
Revised the steps to reflect changes that occur if you install Visual Studio 2008 SP1. |
SP1 feature change. |