updat option in winform
-
2012年4月16日 15:55
hello
how can i creat "chek for updat" option in my winform app that my customers are using on thir comuters?
thanks
natan
- 已移动 CoolDadTxMVP 2012年4月16日 16:35 Setup related (From:Visual C# General)
全部回复
-
2012年4月16日 15:53
hello
how can i creat "chek for updat" option in my winform app that my customers are using on thir comuters?
thanks
natan
- 已合并 Allen Li - AI3Microsoft Contingent Staff 2012年4月17日 3:41 the same question
-
2012年4月16日 16:19
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".
-
2012年4月16日 16:35
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
- 已建议为答案 Jason Dot WangMicrosoft Contingent Staff, Moderator 2012年4月18日 3:00
- 取消建议作为答案 Jason Dot WangMicrosoft Contingent Staff, Moderator 2012年4月18日 3:01
- 已标记为答案 Jason Dot WangMicrosoft Contingent Staff, Moderator 2012年4月26日 1:18
- 取消答案标记 Jason Dot WangMicrosoft Contingent Staff, Moderator 2012年4月26日 1:19
-
2012年4月16日 16:36
-
2012年4月16日 19:59
hi
ther is no other way for doing this ?
natan
natan mizrahi
-
2012年4月16日 20:25
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
-
2012年4月16日 20:30
clickonece can be good for simple softwre?
thats what you say?
natan
natan mizrahi
-
2012年4月16日 20:55
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
- 已建议为答案 Jason Dot WangMicrosoft Contingent Staff, Moderator 2012年4月18日 3:00
- 取消建议作为答案 Jason Dot WangMicrosoft Contingent Staff, Moderator 2012年4月18日 3:01
- 已标记为答案 Jason Dot WangMicrosoft Contingent Staff, Moderator 2012年4月26日 1:18
- 取消答案标记 Jason Dot WangMicrosoft Contingent Staff, Moderator 2012年4月26日 1:18
-
2012年4月16日 20:56
hi and thank you
i didnt understand this :
Beyond that scenario I find CO to be useless. IMHO.
natan
natan mizrahi
-
2012年4月16日 21:26Unless your app meets the requirements I described in my previous post (intranet app, no setup, etc) then ClickOnce is probably not a good option.
- 已建议为答案 Jason Dot WangMicrosoft Contingent Staff, Moderator 2012年4月18日 3:01
- 取消建议作为答案 Jason Dot WangMicrosoft Contingent Staff, Moderator 2012年4月18日 3:01
-
2012年4月16日 21:30
internet app is better from desktop app ?
natan
natan mizrahi
-
2012年4月16日 21:43
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.
- 已建议为答案 Jason Dot WangMicrosoft Contingent Staff, Moderator 2012年4月18日 3:01
- 取消建议作为答案 Jason Dot WangMicrosoft Contingent Staff, Moderator 2012年4月18日 3:01
- 已标记为答案 Jason Dot WangMicrosoft Contingent Staff, Moderator 2012年4月27日 2:04
-
2012年4月16日 21:50
i see
thanks
do you know why the setup option give me error ?
http://screencast.com/t/9A1p1VqVq
thanks
natan mizrahi
-
2012年4月26日 1:21版主
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
- 已标记为答案 Jason Dot WangMicrosoft Contingent Staff, Moderator 2012年4月27日 2:04
-
2012年5月2日 6:56版主
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

