Answered updat option in winform

  • Monday, April 16, 2012 3:55 PM
     
     

    hello

    how can i creat "chek for updat" option in my winform app that my customers are using on thir comuters?

    thanks

    natan

    • Moved by CoolDadTxMVP Monday, April 16, 2012 4:35 PM Setup related (From:Visual C# General)
    •  

All Replies

  • Monday, April 16, 2012 3:53 PM
     
     

    hello

    how can i creat "chek for updat" option in my winform app that my customers are using on thir comuters?

    thanks

    natan

  • Monday, April 16, 2012 4:19 PM
     
     

    Hi, 

    Can you elaborate the requirement?

    You wanted to provide the mechanism of update to new version option for the application?


    If this post answers your question, please click "Mark As Answer". If this post is helpful please click "Mark as Helpful".

  • Monday, April 16, 2012 4:35 PM
     
     

    ClickOnce is designed to allow for auto-updating of applications but the constraints on its usage can be high.  You'd have to deploy the app from the network, you must support xcopy deployment of updates (no setup program or admin rights), you have to conditionally check for updates because it will throw an error if not network deployed and you can't do any post-deployment changes except through your app's code.  It is designed for simple auto-xcopy deployment of applications.  Refer to MSDN for the full list of requirements and features.

    If ClickOnce won't work for you then you'll have to create your own implementation or rely on third-party installers like InstallShield.

    Michael Taylor - 4/16/2012
    http://msmvps.com/blogs/p3net

  • Monday, April 16, 2012 4:36 PM
     
     
  • Monday, April 16, 2012 7:59 PM
     
     

    hi

    ther is no other way for doing this ?

    natan


    natan mizrahi

  • Monday, April 16, 2012 8:25 PM
     
     

    ClickOnce is the only framework supported approach.  Third-party installers like InstallShield provide their own mechanism but you'll need to refer to their documentation and forums on how much work is involved.

    Michael Taylor - 4/16/2012
    http://msmvps.com/blogs/p3net

  • Monday, April 16, 2012 8:30 PM
     
     

    clickonece can be good for simple softwre?

    thats what you say?

    natan


    natan mizrahi

  • Monday, April 16, 2012 8:55 PM
     
     

    In my experience ClickOnce is good for deploying intranet apps that have no setup requirements, do not require admin privileges and have little to no configuration requirements.  Users can download the software from a file share and have auto-update capabilities from then on.  Beyond that scenario I find CO to be useless.  IMHO.

    Michael Taylor - 4/16/2012
    http://msmvps.com/blogs/p3net

  • Monday, April 16, 2012 8:56 PM
     
     

    hi and thank you

    i didnt understand this :

    Beyond that scenario I find CO to be useless.  IMHO.

    natan


    natan mizrahi

  • Monday, April 16, 2012 9:26 PM
     
     
    Unless your app meets the requirements I described in my previous post (intranet app, no setup, etc) then ClickOnce is probably not a good option.
  • Monday, April 16, 2012 9:30 PM
     
     

    internet app is better from desktop app ?

    natan


    natan mizrahi

  • Monday, April 16, 2012 9:43 PM
     
     Answered

    Depends upon the app.  ClickOnce is only relevant to Windows apps that you want to write using WinForms or WPF.  If you're creating a web app then deployment isn't an issue as it'll be hosted.  A full discussion of when to choose a web app vs a desktop app is beyond the scope of these forums.  If you are unsure then you should google for guidelines on when to choose one or another.  Deployment happens to be one area where web apps are superior.

  • Monday, April 16, 2012 9:50 PM
     
     

    i see 

    thanks

    do you know why the setup option give me error ?

    http://screencast.com/t/9A1p1VqVq

    thanks

    natan


    natan mizrahi

  • Thursday, April 26, 2012 1:21 AM
    Moderator
     
     Answered

    Hi natan1978,

      Althrough Microsoft doesn't provide support for third party software. I can send you to a site that can assit you.

      http://www.flexerasoftware.com/products/installshield.htm

      Hope it helps you.

    Sincerely,

    Jason Wang


    Jason Wang [MSFT]
    MSDN Community Support | Feedback to us

  • Wednesday, May 02, 2012 6:56 AM
    Moderator
     
     

    My company has used ClickOnce to deploy several applications to customers around the world for the past five years, and we use the automatic update option. It works great for us.

    I don't understand why you think it can only be deployed on an intranet. Most of our applications are deployed from our CDN, but we also deploy some from Azure blob storage (which is dirt cheap).

    The biggest constraint is that your application can not require admin privileges to run. This hasn't been an issue for us.

    RobinDotNet


    Click here to visit my ClickOnce blog!
    Microsoft MVP, Client App Dev