
ClickOnce is a new .NET application deployment technology that makes it possible to deploy a Windows Forms based application through Internet Explorer.
From Microsoft MSDN:
With ClickOnce running, a Windows Forms application is as simple as clicking a link in a web page. For administrators, deploying or updating an application is simply a matter of updating files on a server; no need to individually touch every client.
The interesting part is that no administrator rights are required to install the application.
The end-user simply clicks on a link and the application installs itself automatically. If updates are available, the application downloads and installs them automatically. Thus, developers can be certain that end-user are always up to date.



After the application has been successfully published, you can browse to the specified location with Internet Explorer. The following screen will appear:

Click on Install to start the installation. .NET is verifying the application requirements:

If the pre-requisites are okay (in this case .NET Framework 2.0), the distributable files will be downloaded locally:

After the installation, the application will start automatically and can be used.

In this sample, a start menu entry has additionally been created, so that the end user is able to start the application from the start menu. If a newer version is available on the server, the updates will be installed automatically.
Using ClickOnce requires that the target client already have the .NET Framework 2.0 installed. Additionally, Internet Explorer must be used to install the application. Please do not hesitate to contact me, if you have any questions about this. I look forward to discuss this with you.
Hey, good article!
I would like to host a Windows Forms control inside an HTML page, however that control will use classes from System.Net, which
requires more trust. I don't want the user to have to manually aonfigure this using the .NET configuration tool. Instead it
would be nice if this could be configured automaticly using ClickOnce. Basicly, I want to do everything you described in the
article, but then from a IE hosted Windows Forms control.
Keep it up!Hey,
I have to install on a client machine. He doesn't have internet facility. How can i install using the click once deployment.
Could you please send me the local deployment setup files.
Let me know if you need my license key. I will send it across.
Thanks & Regards,
BalajiBalaji
The idea behind ClickOnce is the distribution via HTTP. If you would like to distribute your application the normal way, please
have a look at the documentation in the first chapter that explains how to distribute TX Text Control applications.ClickOnce is not limited to Http and IE. You can publish to a network share or a CD and install by double clicking or otherwise
executing the setup.exe file at that location. Aside from the several advantages of this system, including built-in automatic
updates and rollback support, we are using it to avoid the necessity for administrator rights required when installing most
MSI-based applications. We have not yet discovered a way to speciify the target installation location. It is installing and
hiding the application under the user's Documents and Settings directory to guarantee write access I assume.When I try this and click on the webpage 'install' button, I get a 'TXTextControl' needs to be installed in the Global Assembly
Cache.ClickOnce also allows prerequisites to be installed by a boostrapper. Is it possible to use the TX Text Control merge module
(txtextcontrol.msm) to create a package that can be used by ClickOnce?developed the clieckonce, same way. But i have error .
log.txt
he following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [ProcessorArchitecture] = Intel {string}
Property: [VersionNT] = 5.1.3 {version}
Launching Application.
URLDownloadToCacheFile failed with HRESULT '-2146697211'
Error: Error Happpend for Downloading 'http://pc-201004041441/esOmang/include/HT/esOmang.win.handy.updater.application'
please Send to me the answer