Thursday, June 7, 2007

Properties for ClickOnce launch

Using ClickOnce for .NET applications

ClickOnce is primarily used only for Windows applications. ClickOnce can be used in the following scenarios

1. Application will be downloaded by client from website of your choice

2. If the version of the application constantly changes

3. Automatically the application change should be reflected in the universal site made for downloading application



Please follow the mentioned steps to make your application in the remote site for client download

1. Create a new windows project or open an existing windows project

2. From the project menu, select properties menu item

3. Specify the location for the download operation

4. Change the version numbers as needed. This option can be linked to Assebly info for automatic version updation

5. Click on Publish Wizard

6. Check if the location is right

7. Follow the steps mentioned in the wizard (just a couple of easy steps) and finish



Application would be build and will be published the first time and subsequently would be made availbel in the specified location. This can be included in our website or can have it as a seperate link, accordingly


On clicking the "Publish" menu item in Build menu, ClickOnce launches setup operation as a link through web. On flicking the install button, application should get installed.


TroubleShooting


ClickOnce - Publish fails with no errors

But it might so happen that you neither receive an error, nor application gets installed. This is due to security settings of IE. Please click on the security tab and change the settings for intranet options for .NET compoents (they might have been disable by default, enable them). Appended picture might be of help to you