在Wix中,广告的快捷方式是否可以使用系统文件关联中的图标? [英] In Wix can an advertised shortcut use the icon from a systems file association?

查看:186
本文介绍了在Wix中,广告的快捷方式是否可以使用系统文件关联中的图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题是关于Wix并设置广告快捷方式的图标:

A question is about Wix and setting the icon of an advertised shortcut:

如果您的安装程序包含手册或文档,例如.pdf格式,并且您希望创建PDF文件的快捷方式。是否可以根据系统文件关联使用快捷方式的图标?

If your installer contains a manual, or document in say .pdf format and you want to create a shortcut to the PDF file. Is it possible to use an icon for the shortcut based on the systems file associations?

例如。用户有Adobe阅读器,快捷方式获取adobe pdf图标。
用户有Foxit /其他阅读器,快捷方式获取该程序图标。等等。

e.g. User has Adobe reader, the shortcut gets adobe pdf icon. User has Foxit/Other reader, the shortcut gets that program icon instead. etc.

推荐答案

据我了解安装程序魔术,这是不可能的。这与Wix无关,但是是一般的MSI行为。因此,您需要使用未公布的快捷方式来显示PDF文件的用户图标。

As far as I understand the installer magic, this is not possible. This has nothing to do with Wix but is a general MSI behaviour. Thus you would need to use un-advertised shortcuts to display the user's icon for PDF files.

这篇关于在Wix中,广告的快捷方式是否可以使用系统文件关联中的图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆