开发者

Clickable banner image in WiX dialog

I would like to put an image banner on one of my WiX dialogs that when clicked opens a web page for our product support, in case users have trouble with the installation. I think I know how to open the web page but the problem is registering the开发者_开发百科 click event. Is there a way to do this?

From my own attempts I've concluded that a "bitmap" type control won't let you detect clicks. Do I have any other options, like making a pushbutton with a picture on it and hiding the borders so it looks good? I've not been successful with this.

I'm using WiX 3.5.


I think you can't do what you want with internal MSI UI for which WiX provides interface.

You can create a button with image on it but you can't hide the borders of the button.


Starting from Windows Installer 4.5, there's ability to include custom UI elements, see Using an Embedded UI for reference. Another option is using External UI, where you develop UI as a regular application and handle notification messages from MSI.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜