[Code]
function FileExist(): Boolean;
begin
if (FileExists(ExpandConstant('{src}')+ '\custom')) then
begin
Result := True;
end
else
begin
Result := False;
end;
end;
function GetRunParam(PName:String):Boolean;
var
CmdLine : String;
CmdLineLen : Integer;
i : Integer;
begin
Result := true;
CmdLineLen:=ParamCount();
for i:=0 to CmdLineLen do
begin
CmdLine:=ParamStr(i);
if CmdLine= PName then
begin
CmdLine:=ParamStr(i+1);
Result := false;
Exit;
end;
end;
end;
function GetWebParam(PName:String):Boolean;
var
CmdLine : String;
CmdLineLen : Integer;
i : Integer;
begin
Result := false;
CmdLineLen:=ParamCount();
for i:=0 to CmdLineLen do
begin
CmdLine:=ParamStr(i);
if CmdLine= PName then
begin
CmdLine:=ParamStr(i+1);
Result := true;
Exit;
end;
end;
end;
function getpath(Default: string ): string;
begin
if(GetWebParam('/SUPPRESSMSGBOXES')) then
Result := ExpandConstant('{src}')
else
Result := ExpandConstant('{param:path|{pf}}') + '\Passper\Passper for Word'
end;
function IsAppRunning(const FileName: string): Boolean;
var
FWMIService: Variant;
FSWbemLocator: Variant;
FWbemObjectSet: Variant;
begin
Result := false;
FSWbemLocator := CreateOleObject('WBEMScripting.SWBEMLocator');
FWMIService := FSWbemLocator.ConnectServer('', 'root\CIMV2', '', '');
FWbemObjectSet := FWMIService.ExecQuery(Format('SELECT Name FROM Win32_Process Where Name="%s"',[FileName]));
Result := (FWbemObjectSet.Count > 0);
FWbemObjectSet := Unassigned;
FWMIService := Unassigned;
FSWbemLocator := Unassigned;
end;
function InitializeSetup(): Boolean;
begin
Result := IsAppRunning('Passper for Word.exe');
if Result then
begin
MsgBox('The programe is running. Please close the programe before install. ', mbError, MB_OK);
Result :=false
end
else
Result :=true
end;
function InitializeUninstall(): Boolean;
begin
Result := IsAppRunning('Passper for Word.exe');
if Result then
begin
MsgBox('The programe is running. Please close the programe before uninstall. ', mbError, MB_OK);
Result :=false
end
else
Result :=true
end;
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
万能Word密码移除器 (427个子文件)
ascii.chr 5.46MB
custom.chr 224KB
john.conf 101KB
repeats32.conf 88KB
dumb32.conf 87KB
main.conf 78KB
dynamic.conf 59KB
dumb16.conf 56KB
repeats16.conf 55KB
korelogic.conf 22KB
dynamic_flat_sse_formats.conf 9KB
hybrid.conf 8KB
regex_alphabets.conf 6KB
best64.conf 1KB
main.local.conf 81B
unins000.dat 61KB
icudt55.dll 25.08MB
icudt53.dll 20.53MB
Qt5Gui.dll 4.39MB
Qt5Widgets.dll 4.26MB
Qt5Core.dll 3.9MB
cygwin1.dll 3.14MB
CrackPassword.dll 2.38MB
cygcrypto-1.1.dll 2.25MB
xlnt.dll 2.16MB
xlnt.dll 2.16MB
icuin53.dll 1.87MB
OfficeConvertDll.dll 1.74MB
libeay32.dll 1.67MB
xpdfexport.dll 1.26MB
icuuc53.dll 1.26MB
libeay32.dll 1.21MB
7z.dll 1.15MB
msvcr120.dll 948KB
qwindows.dll 875KB
Qt5Network.dll 820KB
msvcr100.dll 752KB
msvcp120.dll 445KB
msvcp100.dll 411KB
qjp2.dll 373KB
libcurl.dll 332KB
qtiff.dll 302KB
ssleay32.dll 270KB
qwebp.dll 248KB
Qt5Svg.dll 245KB
RPCracker.dll 221KB
cygcrypt-2.dll 218KB
qmng.dll 214KB
qjpeg.dll 202KB
log4cppDLL.dll 162KB
SoftMgr.dll 160KB
cyggomp-1.dll 160KB
Qt5Xml.dll 149KB
zlibwapi.dll 139KB
quazip.dll 138KB
ServerZip.dll 134KB
network.dll 115KB
cyggcc_s-1.dll 109KB
libgcc_s_sjlj-1.dll 92KB
cygz.dll 87KB
zlib1.dll 74KB
cygbz2-1.dll 67KB
zlib1.dll 59KB
vcomp100.dll 50KB
libwinpthread-1.dll 47KB
qdds.dll 36KB
qicns.dll 29KB
qico.dll 22KB
qgif.dll 22KB
qsvg.dll 17KB
qtga.dll 16KB
qwbmp.dll 16KB
office2john.exe 8.3MB
john.exe 6.53MB
unins000.exe 1.24MB
Feedback.exe 559KB
Passper for Word.exe 403KB
appAutoUpdate.exe 329KB
ProServers.exe 39KB
RestartApp.exe 15KB
dictionary_preparing.gif 71KB
removing_restrictions.gif 40KB
updating_dictionary.gif 38KB
preparing.gif 19KB
process.gif 13KB
restrictions_succeed.gif 12KB
loading.gif 9KB
downloading_dictionary.gif 8KB
recovered_succeed.gif 6KB
recovering_password.gif 6KB
loading.gif 2KB
Setup.ico 97KB
feedback_icon.ico 36KB
language.ini 466B
config.ini 367B
log_config.ini 109B
feedback_hover.jpg 2KB
Feedback.json 1KB
FeedbackDownloadUrl.json 779B
Register.json 618B
共 427 条
- 1
- 2
- 3
- 4
- 5
资源评论
lizehua2020
- 粉丝: 1
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功