NSIS - 开始菜单左侧的快捷方式

时间:2022-11-20 07:59:31

Windows XP start menu is divided into two parts, the left and the right. I'm able to add to the all programs folder of the start menu, but how do you add a shortcut for your application on the left side of the start menu?

Windows XP开始菜单分为左右两部分。我可以添加到开始菜单的所有程序文件夹,但是如何在开始菜单的左侧为应用程序添加快捷方式?

Thanks!

1 个解决方案

#1


There is no official (i.e., supported and more or less guaranteed to work in the future and on future versions of windows) way to do this (at all, not just with nsis - the nsis part is the easy part of the question), see http://blogs.msdn.com/oldnewthing/archive/2003/09/03/54760.aspx .

没有官方(即支持,或多或少保证在未来和未来的Windows版本中工作)的方式来做到这一点(根本不是与nsis - nsis部分是问题的简单部分),请参阅http://blogs.msdn.com/oldnewthing/archive/2003/09/03/54760.aspx。

That being said, the pinned entries are stored in a binary blob in the registry, in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StartPage\Favorites . Other people have done what you are trying to do, see e.g. http://groups.google.gm/group/microsoft.public.platformsdk.shell/browse_thread/thread/c11161e983dd8a32 , but I know of none that have made code available to parse this binary blob. Depending on how determined you are to get this to work, you could do it yourself.

话虽这么说,固定条目存储在注册表中的二进制blob中,位于HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ StartPage \ Favorites中。其他人已经做了你想要做的事情,参见例如http://groups.google.gm/group/microsoft.public.platformsdk.shell/browse_thread/thread/c11161e98​​3dd8a32,但我知道没有任何代码可以解析这个二进制blob。根据您决定使用它的方式,您可以自己完成。

#1


There is no official (i.e., supported and more or less guaranteed to work in the future and on future versions of windows) way to do this (at all, not just with nsis - the nsis part is the easy part of the question), see http://blogs.msdn.com/oldnewthing/archive/2003/09/03/54760.aspx .

没有官方(即支持,或多或少保证在未来和未来的Windows版本中工作)的方式来做到这一点(根本不是与nsis - nsis部分是问题的简单部分),请参阅http://blogs.msdn.com/oldnewthing/archive/2003/09/03/54760.aspx。

That being said, the pinned entries are stored in a binary blob in the registry, in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StartPage\Favorites . Other people have done what you are trying to do, see e.g. http://groups.google.gm/group/microsoft.public.platformsdk.shell/browse_thread/thread/c11161e983dd8a32 , but I know of none that have made code available to parse this binary blob. Depending on how determined you are to get this to work, you could do it yourself.

话虽这么说,固定条目存储在注册表中的二进制blob中,位于HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ StartPage \ Favorites中。其他人已经做了你想要做的事情,参见例如http://groups.google.gm/group/microsoft.public.platformsdk.shell/browse_thread/thread/c11161e98​​3dd8a32,但我知道没有任何代码可以解析这个二进制blob。根据您决定使用它的方式,您可以自己完成。