昨天我正在查看我的一些工作安装程序代码报告的错误,发现右键单击不会为我们的任何安装程序打开上下文菜单。
为密码框显示上下文菜单,所以我认为这是我在浏览文档时错过的设置,但我在谷歌上没有看到任何内容。
它是一个错误吗?缺少设置或设计功能?
代码非常简单,如下所示:
(工作案例:密码箱)
<Control Id="Label2" Type="Text" X="15" Y="123" Width="85" Height="18" Transparent="yes" Text="Password:" />
<Control Id="Edit2" Type="Text" Password="yes" X="100" Y="120" Width="235" Height="18" Property="PASSWORD" Text="[PASSWORD]" ToolTip="The password for the activation service to register the application." />
(失败案例:编辑或文本框)
<Control Id="Label1" Type="Text" X="15" Y="103" Width="80" Height="18" Transparent="yes" Text="Username:" />
<Control Id="Edit1" Type="Edit" X="100" Y="100" Width="235" Height="18" Property="ACTIVATIONUSERNAME" Text="[ACTIVATIONUSERNAME]" ToolTip="The username for the activation service to register the application." />
干杯,J
PS 我检查了 WIX 3.5,似乎也出现了同样的问题。