我使用 InnoUnpacker 提取了 install_script.iss。有检查:“IsNeedRunAdminPrivilegesPackages”、“不是IsClientInstallForbidden”。假设这些是自定义函数?我在 iss 文件中没有看到 [Code] 部分。它是如何工作的? [code] 部分是强制性的并且 InnoUnpacker 没有正确解压它吗?
[Files]
Source: "{tmp}\AdminPrivilegesPackages Installer.exe"; DestDir: "{tmp}"; Check: "IsNeedRunAdminPrivilegesPackages"; AfterInstall: "InstallMcComponent(ExpandConstant('{cm:AdminPackages}'),'AdminPrivilegesPackages Installer.exe', '/VERYSILENT /LOG /NOCANCEL')"; MinVersion: 0.0,6.0; Flags: deleteafterinstall
Source: "{tmp}\MacroscopClient Installer_x64.exe"; DestDir: "{tmp}"; Check: "not IsSelectedX86Platform and not IsClientInstallForbidden"; AfterInstall: "InstallClient"; MinVersion: 0.0,6.0; Flags: deleteafterinstall
Source: "{tmp}\MacroscopPlayer Installer.exe"; DestDir: "{tmp}"; Check: "not IsClientInstallForbidden"; AfterInstall: "InstallMcComponent('Macroscop Player', 'MacroscopPlayer Installer.exe', '/VERYSILENT /LOG /NOCANCEL /WITHOUTDEPS')"; MinVersion: 0.0,6.0; Flags: deleteafterinstall
[Code]
被编译成CompiledCode.bin
,我相信InnoUnpacker提取了它——尽管有类似命名的工具,所以我不确定你实际使用的是哪一个。无论如何,我不知道有任何工作工具可以将 CompiledCode.bin
反编译回 Pascal 脚本代码。