Shortcuts with name “Uninstall <Program Name>” are not displayed in Windows 8/8.1/10

自闭症网瘾萝莉.ら 提交于 2019-12-01 18:14:44

问题


Using MSI installer we create application shortcuts on Windows 7, 8, 8.1 , 10 operating systems. Along with application shortcuts, we also create Uninstallation Shortcut for the program.

Path to shortcut on until Win7: [ProgramsMenuFolder]\CompanyName\ProductName\

Path to shortcut on until Win8/8.1/10: [ProgramsMenuFolder]\ProductName\

The uninstall shortcut appears on Win7 but on Win8 and above this shortcut doesn't appear for few products.

I found a blog where they say that on Win8+ shortcuts named uninstall is removed by the OS automatically. http://forums.winamp.com/showthread.php?t=378327

Could someone point out to any Microsoft documentation for this issue or even guidelines to create shortcuts?


回答1:


As per this document https://msdn.microsoft.com/en-us/library/windows/desktop/jj673981%28v=vs.85%29.aspx, it states as below.

DON'T: Don't put shortcuts to the following items on the Start screen: (previous document says the same for StartMenu http://www.2brightsparks.com/bb/viewtopic.php?t=7624)

  • Uninstallers. Users can access uninstallers through the Programs item in the Control Panel.
  • Help files. Include help topics directly in your app.
  • App settings and options. Include UI to configure settings for an app within the app or create a Control Panel item.
  • Web sites. Provide any appropriate links to information like help and technical support sites directly in your app.
  • Wizards. Wizards and other one-time configuration tasks should be launched from within the app.

Other Microsoft Documentation below, it says to create shortcuts only for Programs and recommeds to use Add/Remove Programs for uninstall/repair/modify actions

https://msdn.microsoft.com/en-us/library/windows/desktop/dn742493.aspx https://msdn.microsoft.com/en-us/library/windows/desktop/bb204770%28v=vs.85%29.aspx https://msdn.microsoft.com/en-us/library/windows/desktop/aa372825%28v=vs.85%29.aspx

The behaviour of shorcuts displayed for few products is explained in the below blog. http://forums.winamp.com/showthread.php?t=378327



来源:https://stackoverflow.com/questions/34398928/shortcuts-with-name-uninstall-program-name-are-not-displayed-in-windows-8-8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!