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
Shortcut in Install Removes Existing Pinned Shortcut
-
- Posts: 124
- Joined: Mon Oct 22, 2012 2:14 pm
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Shortcut in Install Removes Existing Pinned Shortcut
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
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
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
Re: Shortcut in Install Removes Existing Pinned Shortcut
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.)
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Shortcut in Install Removes Existing Pinned Shortcut
Dear Tofutim,
during package removal, by design and even with Windows installer, any component used by the application is removed (including shortcuts).
did you read my reply to your other post?
Regards.
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
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
Who is online
Users browsing this forum: No registered users and 71 guests