ClickOnce部署更新 [英] ClickOnce Deployment Updating

查看:100
本文介绍了ClickOnce部署更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我有一个通过ClickOnce部署的应用程序。它第一次部署好了

,但是在更新它时并不总是有效并且修复

的唯一方法是卸载并再次安装应用程序刮擦。

有时候它会成功升级,但它非常受欢迎。一旦

它显然已经完成升级文件,启动主exe只是

在它开始之前就失败了,好像它在
$期间出了问题b $ b升级。


任何可能导致此问题的想法?顺便说一句,我正在使用VS 2005和VB.NET。


尼克。

Hi there,

I have an application that I deploy via ClickOnce. It deploys fine the
first time, but when updating it doesn''t always work and the only way to fix
it is to uninstall and the install the application again from scratch.
Sometimes it does upgrade successfully though, it''s very hit and miss. Once
it has apparently finished upgrading the files, launching the main exe just
fails before it even gets started, as if it has got something wrong during
the upgrade.

Any ideas what could cause this? And btw, I''m using VS 2005 and VB.NET.

Nick.

推荐答案

" NickP" < a@a.com写了留言

新闻:O8 ************** @ TK2MSFTNGP03.phx.gbl ...
"NickP" <a@a.comwrote in message
news:O8**************@TK2MSFTNGP03.phx.gbl...

您好,


我有一个通过ClickOnce部署的应用程序。它第一次部署好了

,但是在更新它时并不总是有效并且修复它的唯一方法是卸载并再次安装应用程序刮擦。

有时它确实升级成功,但它非常受欢迎。

一旦它显然已完成升级文件,启动主要

exe在它开始之前就失败了,就好像它在升级过程中有一些错误的b $ b错误。


任何想法可能导致这个?顺便说一下,我正在使用VS 2005和VB.NET。


尼克。
Hi there,

I have an application that I deploy via ClickOnce. It deploys fine the
first time, but when updating it doesn''t always work and the only way to
fix it is to uninstall and the install the application again from scratch.
Sometimes it does upgrade successfully though, it''s very hit and miss.
Once it has apparently finished upgrading the files, launching the main
exe just fails before it even gets started, as if it has got something
wrong during the upgrade.

Any ideas what could cause this? And btw, I''m using VS 2005 and VB.NET.

Nick.



你收到任何错误消息?

Are you getting any error messages?


你好,


的确,


+附加设备到系统不起作用(例外来自

HRESULT:0x8007001F)


这很奇怪,因为我不知道这是指什么设备。我有一个外接的硬盘驱动器连接并打开电源,但从来没有把b $ b作为等式的一部分。 :-\


尼克。


" Harry" < ha ********* @ffapaysmart.com.auwrote in message

news:eU ************* @ TK2MSFTNGP04.phx.gbl ...
Hi there,

Indeed,

+ A device attached to the system is not functioning (Exception from
HRESULT: 0x8007001F)

Which is odd because I have no idea what device this is referring to. I
have an external hard drive which is connected and powered on but has never
been part of the equation. :-\

Nick.

"Harry" <ha*********@ffapaysmart.com.auwrote in message
news:eU*************@TK2MSFTNGP04.phx.gbl...

" NickP" < a@a.com写了留言

新闻:O8 ************** @ TK2MSFTNGP03.phx.gbl ...
"NickP" <a@a.comwrote in message
news:O8**************@TK2MSFTNGP03.phx.gbl...

>您好,

我有一个通过ClickOnce部署的应用程序。它第一次部署很好,但是当它更新它并不总是有效时,修复它的唯一方法就是卸载并再次从
开始安装应用程序。虽然它有时会成功升级,但它非常受欢迎且错过了。一旦它显然已经完成升级文件,启动
主exe在它开始之前就失败了,好像它在升级过程中出了问题。

任何想法什么可能导致这个?顺便说一句,我正在使用VS 2005和
VB.NET。

尼克。
>Hi there,

I have an application that I deploy via ClickOnce. It deploys fine
the first time, but when updating it doesn''t always work and the only way
to fix it is to uninstall and the install the application again from
scratch. Sometimes it does upgrade successfully though, it''s very hit and
miss. Once it has apparently finished upgrading the files, launching the
main exe just fails before it even gets started, as if it has got
something wrong during the upgrade.

Any ideas what could cause this? And btw, I''m using VS 2005 and
VB.NET.

Nick.



你收到任何错误消息?


Are you getting any error messages?



" NickP" < a@a.com写了留言

新闻:%2 **************** @ TK2MSFTNGP05.phx.gbl ...
"NickP" <a@a.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...

你好,


的确,


+连接到系统的设备不是功能(例外来自

HRESULT:0x8007001F)


这很奇怪,因为我不知道这是指什么设备。

我有一个外接硬盘驱动器,它已经连接并通电但是没有b / b从未成为等式的一部分。 :-\


尼克。


" Harry" < ha ********* @ffapaysmart.com.auwrote in message

news:eU ************* @ TK2MSFTNGP04.phx.gbl ...
Hi there,

Indeed,

+ A device attached to the system is not functioning (Exception from
HRESULT: 0x8007001F)

Which is odd because I have no idea what device this is referring to.
I have an external hard drive which is connected and powered on but has
never been part of the equation. :-\

Nick.

"Harry" <ha*********@ffapaysmart.com.auwrote in message
news:eU*************@TK2MSFTNGP04.phx.gbl...

>" NickP" < a@a.com写了留言
新闻:O8 ************** @ TK2MSFTNGP03.phx.gbl ...
>"NickP" <a@a.comwrote in message
news:O8**************@TK2MSFTNGP03.phx.gbl...

>>您好,

我有一个通过ClickOnce部署的应用程序。它在第一次部署时很好,但是在更新它时并不总是有效并且唯一的解决方法是从
临时卸载并再次安装应用程序。虽然它有时会成功升级,但它非常受欢迎并且错过了。一旦它显然已经完成升级文件,启动主要的exe只是在它开始之前就失败了,好像它在升级过程中出了问题。

任何想法什么可能导致这个?顺便说一句,我正在使用VS 2005和
VB.NET。

尼克。
>>Hi there,

I have an application that I deploy via ClickOnce. It deploys fine
the first time, but when updating it doesn''t always work and the only
way to fix it is to uninstall and the install the application again from
scratch. Sometimes it does upgrade successfully though, it''s very hit
and miss. Once it has apparently finished upgrading the files, launching
the main exe just fails before it even gets started, as if it has got
something wrong during the upgrade.

Any ideas what could cause this? And btw, I''m using VS 2005 and
VB.NET.

Nick.


您收到任何错误消息吗?


Are you getting any error messages?




尼克,尝试谷歌附加到系统的设备无法运行

(例外情况

HRESULT:0x8007001F)"。关于可能导致此问题的原因有很多想法。

运行sfc(系统文件检查程序)实用程序也可能是一个想法。

Nick, try a google with "A device attached to the system is not functioning
(Exception from
HRESULT: 0x8007001F)". There are many ideas on what may cause this problem.
It may also be an idea to run the sfc (system file checker) utility.


这篇关于ClickOnce部署更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆