Shortcut in Install Removes Existing Pinned Shortcut

Got a problem you cannot solve? Try here.
Sheri_Steeves
Posts: 124
Joined: Mon Oct 22, 2012 2:14 pm

Shortcut in Install Removes Existing Pinned Shortcut

Postby Sheri_Steeves » Mon Dec 03, 2012 11:20 am

Hello,

I have a shortcut to the Windows services applet in my install (services.msc).

What I am finding is that if I already have the Services applet pinned to my Windows 7 taskbar ( Control Panel - System and Security - Administrative Tools, right-click Services shortcut and select Pin to Taskbar), running my installer will remove the pinned shortcut.

How do I install a short cut in my Start Menu folder to the Services applet without removing the user-customized pinned shortcut.

Thanks,

Sheri

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Shortcut in Install Removes Existing Pinned Shortcut

Postby FrancescoT » Mon Dec 03, 2012 1:15 pm

Dear Sheri,

I'm supposing this happen when you unistall - reinstall your application with an update.

Unfortunately, doesn't exist a ready to use command for that.

I suppose that the only way you have to achieve this, it is to first obtain if the application is pinned and then, re-pin it again via shortcut command.
Sadly, I believe that the only method to obtain the actual pinned status parameter is through WIN API, for more info please refer to:
http://msdn.microsoft.com/en-us/library/dd378460(VS.85).aspx

Most of the data are stored in the registry under: "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\"
.. but it's not easily editable.

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

tofutim
Posts: 176
Joined: Thu Mar 01, 2012 1:16 pm

Re: Shortcut in Install Removes Existing Pinned Shortcut

Postby tofutim » Fri Apr 12, 2013 2:44 am

Hi we just switched to Native and had a user complain about this happening. They had a number of pinned start menu items and the installer wiped them all out of the start menu. Can you advise? (We had to switch to the Native Engine because a user had a French Start Menu and we were getting an illegal character issue.)

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Shortcut in Install Removes Existing Pinned Shortcut

Postby FrancescoT » Fri Apr 12, 2013 9:32 am

Dear Tofutim,

during package removal, by design and even with Windows installer, any component used by the application is removed (including shortcuts).

(We had to switch to the Native Engine because a user had a French Start Menu and we were getting an illegal character issue.)

did you read my reply to your other post?

Regards.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 107 guests