I extracted install_script.iss using InnoUnpacker. There are checks “IsNeedRunAdminPrivilegesPackages”, “not IsClientInstallForbidden”. A assume those are custom functions? I don’t see [Code] section in iss file. How does it work? Is InnoUnpacker haven’t unpacked them?
[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