|
1
8
sheng评论道,“你也可以切换到其他msi创作工具,这些工具支持为快捷方式设置appid,比如 威克斯 或 NSIS ."
要使用wix中的快捷元素实现此目的,必须添加一个子元素
shortcutproperty元素
“并使用shell属性名”
|
|
|
2
2
我对vs2k8安装项目一无所知,所以我不知道您是否可以运行自定义操作等,但我知道要在快捷方式上设置appid,您可以加载/创建快捷方式并查询 IShellLink 对于 IPropertyStore ,然后initpropvariantfromstring带有您的id和调用setvalue的变量( PKEY_AppUserModel_ID ,propvariant)+在propertystore上提交 |
|
|
3
1
添加到ander的回复中。 visual studio安装项目不支持设置appid,除非microsoft反向 the deprecation of Setup project feature 。 There is a Windows API Code Pack that helps in invoking shell APIs 。 Here 是关于在自定义操作中创建快捷方式的教程。可以添加代码以更新自定义操作的快捷方式。 您还可以切换到其他msi创作工具,这些工具支持为快捷方式(如wix或nsis)设置appid。 |
|
|
Atanas · 更改Windows 10任务栏的颜色和不透明度 9 年前 |
|
|
user1580348 · Flash应用程序的任务栏按钮? 10 年前 |
|
|
Felix · c的任务栏中闪烁/警报++ 12 年前 |
|
|
Vitalij Kornijenko · 如何在任务栏中设置JFrame警报? 12 年前 |