Must update remove my taskbar-pinned shortcut?

May 20, 2008
11,401
99
Syracuse, NY, USA
Must it? It didn't in the past.

It seems rather silly to keep a shortcut to TCC15 on the desktop solely for the purpose of dragging it to the taskbar every time an update deletes my taskbar-pinned shortcut. I found a couple ways to make restoring it easier.

With a shortcut in g:\tc15\ ...

My SYSUTILS plugin's SHELLEX can do it:
Code:
shellex /v taskbarpin g:\tc15\TCC15.lnk
(It took a while to track down the "taskbarpin" verb.)
And a PowerShell script like this will do it.
Code:
$shell = new-object -com "Shell.Application"
$folder = $shell.Namespace('g:\tc15')
$item = $folder.Parsename('TCC15.lnk')
$verb = $item.Verbs() | ? {$_.Name -eq 'Pin to Tas&kbar'}
if ($verb) {$verb.DoIt()}
Considering that, it's odd that my SHELLEX plugin fails (with or without /C (ontext menu)) when I specify the verb "Pin to Tas&kbar". ShellExecuteEx() fails with an error whose text is "Unspecified error" (very informative). Any ideas on that failure (considering that PS seems to do roughly the same thing)?
 
May 20, 2008
11,401
99
Syracuse, NY, USA
There is nothing in the installer that references a shortcut pinned to the taskbar. Windows Installer doesn't even support putting one there (Microsoft won't allow it).
I don't want TCMD updates to put one there.

I want TCMD updates to stop deleting the one I put there (as all through the v14 cycle and up to release of v15).

The behavior has changed. My Windows software has not changed.
 

rconn

Administrator
Staff member
May 14, 2008
12,345
150
The shortcut configuration in the installer has not changed. Some people say the pinned updates have always been removed; some say that they're never removed, and now you're saying it used to not be removed and now it is.

Nevertheless, there is nothing in the installer script to do this (even if I wanted to), and nothing has changed in the installer shortcut code for years. Perhaps you got a Windows update that affected the installer behavior.

I asked the installer developers about the pinned shortcuts several months ago, and they told me it wasn't supported, and they didn't know (or particularly care) why the shortcuts were disabled on an update. Perhaps Windows watches when an uninstall occurs (which always happens in an update) and disables the shortcuts pointing to the deleted app.
 
May 20, 2008
11,401
99
Syracuse, NY, USA
The shortcut configuration in the installer has not changed. Some people say the pinned updates have always been removed; some say that they're never removed, and now you're saying it used to not be removed and now it is.

Nevertheless, there is nothing in the installer script to do this (even if I wanted to), and nothing has changed in the installer shortcut code for years. Perhaps you got a Windows update that affected the installer behavior.

I asked the installer developers about the pinned shortcuts several months ago, and they told me it wasn't supported, and they didn't know (or particularly care) why the shortcuts were disabled on an update. Perhaps Windows watches when an uninstall occurs (which always happens in an update) and disables the shortcuts pointing to the deleted app.
The removal of the pinned shortcuts coincided with the removal of the "Remove only the previous version" page in the installation process.
 

samintz

Scott Mintz
May 20, 2008
1,503
16
Solon, OH, USA
The attached screen snippets show what the icon on the taskbar is doing (and has been doing since I've been running Win7 - i.e. for years now). I have not noticed any different or new behavior with regard to the pinned shortcut.

tcmd_install.jpg


I then right-click that white-icon, select un-pin. Then right-click again and select pin, and the good icon and shortcut are back.

-Scott
 

rconn

Administrator
Staff member
May 14, 2008
12,345
150
Google it; you'll get a few million hits about Windows Installer unlinking pinned taskbar icons. As I said, it's a Windows issue, not a TCMD issue.

(And yes, I could work around it by writing an app to relink taskbar icons, but then Microsoft would decertify Take Command for being incompatible with Win 7 & 8, because apps are not supposed to do that.)
 
May 20, 2008
11,401
99
Syracuse, NY, USA
As I said, it didn't happen with v14 or (up until release) v15. It seems to have started when you removed the "uninstall old versions" install page.
 
May 20, 2008
11,401
99
Syracuse, NY, USA
If it worked for you before, then I'm obligated by Microsoft to ensure that it doesn't ever work again.
**I** made the shortcut (just as MS wants it to be). I don't want you to make it and I don't want you to remove it.
 

rconn

Administrator
Staff member
May 14, 2008
12,345
150
**I** made the shortcut (just as MS wants it to be). I don't want you to make it and I don't want you to remove it.

The installer doesn't remove it. The installer removes the old program, and then Windows disables the shortcut because the program is no longer there. Windows doesn't care that the program is reinstalled a few moments later.
 
May 20, 2008
11,401
99
Syracuse, NY, USA
The installer doesn't remove it. The installer removes the old program, and then Windows disables the shortcut because the program is no longer there. Windows doesn't care that the program is reinstalled a few moments later.
Today I updated to build 33. My taskbar-pinned shortcut was untouched. It wasn't removed; it wasn't disabled. The shortcut I use to create the pinned shortcut was in the TCC install directory; I moved it elsewhere. But I really doubt that accomplished anything since the actual pinned shortcut (created by the act of pinning) is in "C:\Users\vefatica\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\UserPinned\TaskBar" and is an exact copy of the more permanent one. Did you change anything, Rex?
 

rconn

Administrator
Staff member
May 14, 2008
12,345
150
Today I updated to build 33. My taskbar-pinned shortcut was untouched. It wasn't removed; it wasn't disabled. The shortcut I use to create the pinned shortcut was in the TCC install directory; I moved it elsewhere. But I really doubt that accomplished anything since the actual pinned shortcut (created by the act of pinning) is in "C:\Users\vefatica\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\UserPinned\TaskBar" and is an exact copy of the more permanent one. Did you change anything, Rex?

I did not change anything. (As I've been trying to say, I *can't* change anything, because the installer isn't involved.)
 
Similar threads
Thread starter Title Forum Replies Date
R Debugsession must not turn hidden objects on. Support 11
samintz 27.0.21 Did not update ES Support 2
D ParentDirectory does not update directory history Support 6
vefatica Off topic: 10/3 cumulative update? Support 10
A After update to 24.02.49, helpfile tcmd.chm hangs when opened Support 0
Joe Caverly CMDebug v23 Help: /FEEDBACK /UPDATE Support 0
rconn News Update: Code Signing Certificate Status Support 16
C "Failed to update the system registry. Please try using REGEDIT" Support 3
Joe Caverly Update ENDLOCAL to include LIBRARY Support 0
A Reinstalling TCC-RT 21.01.57 triggers a new install instead of update/reinstall Support 3
Charles Dye Ctrl-Shift-Up doesn't update directory history Support 1
vefatica File system update after DEL? Support 4
F Update 21.00.34 -> 37, key no longer recognised Support 2
vefatica Will this survive an update? Support 3
K_Meinhard Theme not remembered by update Support 1
Seven Update / install issue with 20.0.20.10.32 take command Support 7
M Can't update TCC/TCMD to 20.00.25 Support 4
vefatica 21-22 Update problems Support 8
Alpengreis [v2problems0.x] After Update always "" with Everything Support 4
Alpengreis [TC 19.0 Beta 22/23] Install/Update-"Problems" Support 4
J Fixed Update to 18.00.25 not ok Support 7
Jay Sage Toolbar Update to INI File Not Working Support 10
vefatica Update to current install dir? Support 8
tmaynard Error on Take Command Start after recent update Support 2
vefatica Update to 54 Support 4
rconn News JP Software Forums Update Support 3
rconn News Web site update Support 0
vefatica Update removes pinned shortcut? Support 17
S How to? Download TCMD only once to update several computers Support 4
B Take Command x64 15.01.55 Error: Update installation failed Support 7
fpefpe How to? update error? Support 3
H Update to 15.01.40 freezes on cleanup... Support 3
samintz Fixed Update from 39 to 40 Support 0
rconn News Forum software update Support 5
vefatica Update removes taskbar-pinned shortcut Support 7
greyfairer Very slow startup since last Windows 7 Update (14.03.59 x64) Support 9
B Virus in latest update? Support 4
C Update Title Support 7
fishman@panix.com What does each update do? Support 1
R wishlist: in update keep previous settings Support 9
Peter Bratton Update the ftp site Support 1
T 12.11.70 update problem Support 3
P Help > Update triggers invalid configuration Support 3
J update Options with tcc 10.00.57 Support 4
rconn Free update keys sent Support 2
B TC 9 Update Support 0
Dmitry L. Kobyakov How to? How to remove the record of the old version of the Take Command? Support 5
MikeBaas Edit/remove kbd shortcuts of Macro Recorder? Support 7
gworley rd (Remove Directory) gives interesting error: Support 2
x13 TPIPE /REPLACE - Remove line (including EOL) Support 3

Similar threads