Solved

Prevent a Windows ICON from automatically updating

Posted on 2011-09-08
4
323 Views
Last Modified: 2012-05-12
I have an application I maintain for a company.  The users run the application from an icon on their desktops.

Today I updated the application.  It is an Access application split into a database backend and an accde front-end.  I updated the front-end today.  The accde resides on the server and is run from there.
It is for a small shop generally 2-3 users at a time not much contention.

Steps I did today
Downloaded the new version with a temporary name (Dev_App.accde)
Moved the existing version to another directory
Renamed the new version (Prod_App.accde)
Relinked the tables to the database
Ensure permissions were set correctly

Had a user test the new version.
They got an error.
I checked their icon and it was now pointing to the old version in the new directory which they didn't have permissions to.
I fixed the icon to point to the correct version and starting directory and they ran fine

Why did the icon update?
Can it be set to not update since this is the way we will manage changes in the future?
I used the above method since we have had issues in the past with permissions and I had to revert to the older version.


mlmcc
0
Comment
Question by:mlmcc
  • 2
4 Comments
 
LVL 19

Accepted Solution

by:
marsilies earned 423 total points
ID: 36513363
The "icon" is a shortcut, that points to a target. In this situation, it's using the Windows Distributed Link Tracking client and server services in order to track the original target file when you move it.

http://www.sevenforums.com/network-sharing/126501-can-i-disable-distributed-link-tracking-client-service.html
http://support.microsoft.com/kb/312403
http://en.wikipedia.org/wiki/File_shortcut#Microsoft_Windows

One possible workaround would be to disable this service. However, that means shortcuts are more likely to break. Another option would be to change the steps you take:

Download the new version with the same name  (Prod_App.accde), but in a different directory (e.g. "Dev Folder").
Copy the existing version to another different directory (e.g. "Backup Folder")
Copy the new version to the original location, overwriting the old one.
Relink tables and ensure the permissions are set correctly.

Since the shortcut stays linked to the original file, and you overwrote it instead of moving it, the shortcut should still link to the new file.
0
 
LVL 100

Author Comment

by:mlmcc
ID: 36514129
I figured that would probably be the way to do it.  I just hadn't noticed that icons "self-updated" to follow the target.  I know other links don't like recent documents.  Or is that service only on servers and networked machines.

mlmcc
0
 
LVL 2

Expert Comment

by:nat_nz
ID: 36514854
right click the short cut, make read only
0
 
LVL 100

Author Comment

by:mlmcc
ID: 36584980
For future upgrades we will follow the recommendation to make a copy of the old rather than renaming it and do a direct replacement of the existing files

mlmcc
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolve DNS query failed errors for Exchange
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now