Creating Windows 8 Start screen groups and tiles (not only for exes) with Inno Setup

左心房为你撑大大i 提交于 2019-12-24 03:08:14

问题


We are using Inno Setup to build installers for our ActiveX grid control. With the release of Win8, two new questions arose:

  1. Is it possible to create our own new group of tiles on the Start screen (with a specified name) to place our shortcuts/tiles to it using InnoSetup?

  2. Now, only the tiles for the exe's we install are created on the Start screen. Is it possible to add tiles for other file types - say, CHM help file or PDF documents - to this screen?


回答1:


The named grouping under "All appa" is created from the folder heirachy as with all versions of Windows since 95. This means you'd use code like this for all versions of Windows:

[Setup]
DefaultGroupName=Your app shortcuts

[Icons]
Name: "{group}\Your app help"; ...
Name: "{group}\Your app registration"; ...

The only control you have over the main Windows 8 start screen is whether created shortcuts to executables get added automatically with the excludefromshowinnewinstall flag. You have no control over grouping as they're added to the end.



来源:https://stackoverflow.com/questions/15522972/creating-windows-8-start-screen-groups-and-tiles-not-only-for-exes-with-inno-s

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