473,771 Members | 2,328 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2120
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
1250
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 my database? Dave
7
15509
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. The code as it stands does not work in Firefox, and I suspect that the task of feature detection (which currently depends on browser detection) can be carried out better. The result should be that opcode is set to 0,1 or 2 dor click,...
5
2578
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 list is incomplete or contains variables that do not even exist in the project being worked on. It seems like there should be a setting to turn this on and keep it up to date but I cannot find anything in MSDN. It is also a complete mystery why it...
24
11379
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 adjustable timer with it where the mouse can be set to click every so many seconds (1-10).i'm having trouble figuring out how to do and code this.thanks for any help.
8
30418
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 textbox and the data associated to the textbox contains ("apple", "applet", "application"......), the application will suggest "apple" to the user to select and user can either select the suggestion or continue to type another word he disires. How...
6
2746
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 mostly handling let say 5 companies. Every time I have to navigate or choose the find record button to get the right company. I am looking fo a feature to have listed in a combo list the last 5 visited records ("recently visited records").
5
5118
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 of my blocks of code check and compare versions of EXE and DLLs located on the local workstation and the server. So it's very important for me to have an incremented number in case the project was rebuilt. It can be done manually, of course, but I...
1
1930
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 which works when you click on the submit button. Is it possible to change it so that it's automatically submitted when you click enter in the textbox? Thanks M.
2
1456
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
9619
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10260
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9910
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7460
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.