This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Prevent shortcut pinning
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 09, 2012
03:56 PM
Prevent shortcut pinning
We have a problem with shorcuts showing up in the Start menu main list (Vista and 7) and now on the Metro UI. We install the shortcut in a folder below all programs and would like to prevent it from being placed at the top level and especially on the Metro UI.
I hope this is not expected behavior. What bit do I have to flip to prevent our short cut being pinned to the start menu?
Thanks.
I hope this is not expected behavior. What bit do I have to flip to prevent our short cut being pinned to the start menu?
Thanks.
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 09, 2012
04:48 PM
This sounds like it could be a feature of the operating system. You might want to visit these links for more info:
Clear lists on the Start menu and taskbar
Kill New Program Highlighting in Any Start Menu
Clear lists on the Start menu and taskbar
Kill New Program Highlighting in Any Start Menu
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 10, 2012
08:14 AM
There are some Shortcut Properties you can specify on systems using Windows Installer 5.0 and later. However there are downsides to the approach in that this can result in modal dialogs if something goes wrong (such as the .lnk file is locked, or the chosen property isn't available on the current OS).
System.AppUserModel.StartPinOption = 1 (http://social.msdn.microsoft.com/Forums/pl/windowsgeneraldevelopmentissues/thread/11fa666b-7b5c-4d38-b5c3-81e88528cfd3) should help with the metro start page.
System.AppUserModel.ExcludeFromShowInNewInstall = 1 (http://helpnet.installshield.com/installshield16helplib/SettingShellShtctProp.htm) should help with the start menu highlighting.
System.AppUserModel.StartPinOption = 1 (http://social.msdn.microsoft.com/Forums/pl/windowsgeneraldevelopmentissues/thread/11fa666b-7b5c-4d38-b5c3-81e88528cfd3) should help with the metro start page.
System.AppUserModel.ExcludeFromShowInNewInstall = 1 (http://helpnet.installshield.com/installshield16helplib/SettingShellShtctProp.htm) should help with the start menu highlighting.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 10, 2012
01:24 PM
I tried to set the property NoPinToStartOnInstall in the shortcut wizard but it consistently displayed the annoying error 1946 dialog and did not prevent The Pinning. I also tried from the command line /VNoPinToStartOnInstall=1 without success.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 12, 2012
12:01 PM
Have been able to resolve this yet ?
I am having the same issue.
I have tried, (based on a suggestion from IS and as shown in the Windows 8 SDK) setting the Shortcut Shell properties to:
Property: {9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 12
Value: 1
No errors during installation, but the shortcut is still pinned to the Start screen for everyone.
So, I was wondering if you have been able to engineer a solution since your last post. (That you might be good enough to share.)
I am having the same issue.
I have tried, (based on a suggestion from IS and as shown in the Windows 8 SDK) setting the Shortcut Shell properties to:
Property: {9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 12
Value: 1
No errors during installation, but the shortcut is still pinned to the Start screen for everyone.
So, I was wondering if you have been able to engineer a solution since your last post. (That you might be good enough to share.)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 03, 2012
05:35 PM
You must set the System.AppUserModel.ID property before you can set any of the other properties.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 05, 2012
02:53 PM
Hi Michael,
I have added the following short cut properties:
Property: {9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 5 (System.AppUserModel.ID)
Value: 1
Property: {9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 12 (System.StartPinOption)
Value: 1 (Tried with both 1 and 2 as the value and it did not make a difference)
Property: {9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 8 (System.ExcludeFromShowInNewInstall)
Value 1
After all these suggested settings, the shortcuts are not added to both the start screen and secondary screen.
What is the setting I should be using to add the short cuts to the secondary screen only?
My installer is a basic MSI project written using InstallShield 2010.
Any help is appreciated in getting this to work.
Thanks.
I have added the following short cut properties:
Property: {9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 5 (System.AppUserModel.ID)
Value: 1
Property: {9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 12 (System.StartPinOption)
Value: 1 (Tried with both 1 and 2 as the value and it did not make a difference)
Property: {9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 8 (System.ExcludeFromShowInNewInstall)
Value 1
After all these suggested settings, the shortcuts are not added to both the start screen and secondary screen.
What is the setting I should be using to add the short cuts to the secondary screen only?
My installer is a basic MSI project written using InstallShield 2010.
Any help is appreciated in getting this to work.
Thanks.