我在我的安装文件中添加了一个自定义对话框“StandardUI.wxs”。它有一个文本字段 Passkey。
<Control Id="PasskeyLabel" Type="Text" X="18" Y="139" Width="342" Height="12" Text="Passkey *" TabSkip="no" />
<Control Id="PasskeyEdit" Type="Edit" Password="yes" X="18" Y="151" Width="150" Height="18" Property="USERACCPASSKEY" Text="[User]" TabSkip="no" Sunken="yes" Indirect="no" />
<Control Id="PasskeyLabel2" Type="Text" X="18" Y="174" Width="342" Height="12" Text="{\Red}* Passkey should be at least 8 characters long, and contain at least one non-alphanumeric character" TabSkip="no" />
是否可以使用正则表达式字符串验证 key ?
最佳答案
关于regex - 是否可以在 WiX 中使用正则表达式验证文本字段?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34942898/