Necessity of using ClickOnce

Is it absolutely necessary to use ClickOnce when deploying a VB Express program In my particular situation it is really not needful. Assuming the .NET framework 2.0 is installed on the target computer, can one just copy the .exe file from the project's \bin folder to the target computer and expect to have the VB program run without any issues

Answer this question

Necessity of using ClickOnce

  • jfstephe

    No, you don't need it. But try it to see if it fits your needs. Despite claims to the contrary, it does work. It doesn't fit my own personal needs (I use NSIS), though.

    However, never 'expect' your application to run just by copying the EXE. The .NET framework does allow for a good old XCOPY installation but there are dependencies that you need to be aware of (Windows version, framework, and all those dependencies).



  • Mohammed Elnahrawi

    Thanks for the replies. After posting the question, I did indeed try it, and it did work. My initial assumption that things would not work was mostly a function of my newness to VB Express & the .NET framework.
  • pravsaugat

    I don't want to sound harsh, but, have you tried it Nothing bad should happen if it doesn't work. All ClickOnce Deployment does is install your application in such a way that only the main user can run it. It won't even install your application in Program Files like a regular installer will. No Desktop shortcuts either. But, it will put a shortcut on the Start Menu and add the uninstall info in Add/Remove Programs in Control Panel.

    james

    aka:Trucker


  • Necessity of using ClickOnce