我添加了一个自定义对话框' 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" />
是否可以使用正则表达式字符串验证密钥?
答案 0 :(得分:1)