小编cra*_*2sh的帖子

Inno Setup:仅当选择组件“X”时如何创建密码向导页面

任何人都可以帮助我保护选择组或组件。

举些例子

If ('Readme.txt').selected or ('compact').selected = True then
begin "Password wizard page";
else
result := true;
end;
Run Code Online (Sandbox Code Playgroud)

这个工作脚本与此类似:P

function CheckPassword(Password: String): Boolean;
begin
 result := false;
 if (Password='component') or (Password='type') then
   result := true;
end;
Run Code Online (Sandbox Code Playgroud)

passwords pascal inno-setup password-protection

4
推荐指数
1
解决办法
6413
查看次数