Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
超链接和按钮\u单击不在Wix MBA中工作_Wix - Fatal编程技术网

超链接和按钮\u单击不在Wix MBA中工作

超链接和按钮\u单击不在Wix MBA中工作,wix,Wix,我是Wix工具集的新手。我正在使用v3.6和ManagedBootTrapperApplicationHost。 在我的theme.xml文件中,其中一个页面如下所示- <Page Name="Install"> <Text X="11" Y="121" Width="400" Height="17" FontId="3">#(loc.InstallLicenseLabel)</Text> <Hyperlink Name="eula" X="11"

我是Wix工具集的新手。我正在使用v3.6和ManagedBootTrapperApplicationHost。 在我的theme.xml文件中,其中一个页面如下所示-

  <Page Name="Install">
<Text X="11" Y="121" Width="400" Height="17" FontId="3">#(loc.InstallLicenseLabel)</Text>
<Hyperlink Name="eula" X="11" Y="138" Width="75" Height="17" TabStop="yes" FontId="4" HoverFontId="4" SelectedFontId="4">#(loc.InstallLicenseTerms)</Hyperlink>
<Button Name="InstallButton" X="-91" Y="-11" Width="130" Height="23" TabStop="yes" FontId="0">#(loc.InstallAcceptAndInstallButton)</Button>
<Button Name="WelcomeCancelButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.InstallDeclineButton)</Button></Page>

#(位置:InstallLicenseLabel)
#(附件:许可条款)
#(位置InstallAcceptAndInstallButton)
#(位置InstallDeclineButton)
我的问题是,我不知道在哪里添加超链接的参考源信息。它的任何属性都不具有此功能。同样,我无法将事件函数与按钮相关联。谁能帮我一下吗

先谢谢你

MSI中的MSDN有一个例子:

<a href="http://www.blueyonderairlines.com">Blue Yonder Airlines</a>

因此,在WiX中,您可以编写如下内容:

<Hyperlink Name="eula"
           X="11" Y="138" Width="75" Height="17" TabStop="yes">
           &lt;a href=&quot;http://yoursite.com/&quot;&gt;Your Site&lt;/a&gt;
</Hyperlink>

a href=”http://yoursite.com/“您的站点/a
如果愿意,还可以向控件添加一些描述性文本


阅读WiX教程的一节,了解如何向按钮添加事件处理程序



Windows Installer UI和相应的WiX不是很灵活。不过,对于大多数安装人员来说,这已经足够了。

我尝试过使用它,但是锚定html出现了,而不是“链接描述”,而且仍然不起作用。这就是我写的a href=“>@VarunPandey那么你是说你看到的
Hyperlink
元素的内容是HTML格式的,根本没有链接吗?