472,984 Members | 1,988 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,984 software developers and data experts.

click-once deployment "auto-update" feature glitch

I have an application that I've used click-once deployment to publish out to
a shared network path. From there I installed the app on a few client
machines, including my own. Since then I published a few updates that were
recognized by the app, and the users installed them, so everyone's on the
most current version. A couple of glitches are now showing up.

1. One of my users received a prompt when she opened up the app that there
is a new version available. I verified that she's on the most current
version, so I'm clueless as to why it would say that she's not.

2. Another user gets a prompt every morning when she logs on to the network
and opens the application. Her prompt tells her that the application isn't
even installed on her machine, which truly boggles me. I don't know where to
even start on this one. She has to go through the install, then isn't
bothered again until the next time she logs off and then back on.

Any ideas where I can begin to dig into these issues?
May 2 '06 #1
1 2075
I fell upon the answer to this problem while reading this blog:

http://blog.ziffdavis.com/devlife/ar.../28/41839.aspx

Basically, my users were copying the shortcut from the programs list
and pasting it to their desktop. Unbeknownst to me, the target for this
shortcut is updated every time the clickonce installer updates the
user's application reference. So what was happening was that the
shortcut on their desktop no longer coincided with the shortcut in the
programs list.

In the case of my first user, she set up her desktop shortcut after
version 11. After I published version 12, her desktop shortcut pointed
to an older reference, which (accurately) told her that there's a new
version out there that she should install.

My second user was a little more perplexing, since her shortcut told
her that she didn't even have the application installed. She had set up
her desktop shortcut on version 10. After I published version 12, her
desktop shortcut pointed to a non-existing reference and (accurately
again) told her that [version 10 of] the application was not installed.
This is because only the last 2 versions are stored on the client's PC.
All older versions are automatically deleted. By the way, if you didn't
already know, you can "roll-back" a click-once update, but you can only
roll it back once since only the current and previous versions are kept
on the PC.

In order to fix these problems, I followed the instructions in the
above blog to create a desktop shortcut each and every time the
application is run. I changed it up a little though by not checking if
the shortcut already exists, but simply creating it anyway. This way,
if it does already exist, it is overwritten with the new target path.

Just thought I'd share this with everyone since I'm sure it's bound to
happen to you at some point. Now you shouldn't have to scratch your
head for weeks like I did.

ComputerGuyCJ wrote:
I have an application that I've used click-once deployment to publish out to
a shared network path. From there I installed the app on a few client
machines, including my own. Since then I published a few updates that were
recognized by the app, and the users installed them, so everyone's on the
most current version. A couple of glitches are now showing up.

1. One of my users received a prompt when she opened up the app that there
is a new version available. I verified that she's on the most current
version, so I'm clueless as to why it would say that she's not.

2. Another user gets a prompt every morning when she logs on to the network
and opens the application. Her prompt tells her that the application isn't
even installed on her machine, which truly boggles me. I don't know where to
even start on this one. She has to go through the install, then isn't
bothered again until the next time she logs off and then back on.

Any ideas where I can begin to dig into these issues?


Jun 1 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: dave | last post by:
I have an email program, that I wrote for my newsletter. When I send my emails, I am getting more and more bad emails. Is there a way to have an auto remore feature that will remore the email from...
7
by: Paul Cooper | last post by:
Dear All, I am working on a piece of Javascript code that needs to detect a mouse-click, shift-click and control-click. The code is not my own - it is a part of a much larger suite of routines....
5
by: Brakeshoe | last post by:
I would like to find out how to turn on the Auto Complete variable names feature while editing source code in Visual Studio. It seems to appear on intermittantly, and when it does the variable...
24
by: aam | last post by:
hi, im trying to figure out how i can program the mouse to automatically click on a button of a web page that i'm viewing.i do not have control over the page.i would also like to set up an...
8
by: John | last post by:
Hi, I am developing an application using VB.Net and hope that the textbox can process features which are similar to auto-complete features in Window. For example, when user types "ap" in a...
6
by: AA Arens | last post by:
Hi, I have a database with 2 main forms. Contacts and companies. I share the base with two others via LAN. On the companies form I have buttons to navigate throught the records (>400). We are...
5
by: vul | last post by:
In VB6 there is Auto Increment check box in Project Properties, which allow you have a new version every time you compile the project. Is there any easy way to have this feature in VB 2005? Some...
1
by: mazdotnet | last post by:
Hi, We have a internal site using Master Pages that has a header (web user control) on top of every page with a search feature. This search is basically a textbox and a search button beside it...
2
by: richard.nigro | last post by:
When you double-click on a control in the designer window, it creates the 'default' event for that control. Is there any way to disable this functionality?
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.