|
DSG_Module.iss expands {app} unprotected in 11 places - most importantly the MTX block in
DSG_Unpack_Process (SetIniString('MTX', 'TmpPath', ExpandConstant('{app}'), ...)).
In a wizard-less script (Unpacker_Example.iss, or any SFX with CreateAppDir=no) this fails with
"An attempt was made to expand the "app" constant before it was initialized" whenever Setup.dll
holds MTX.exe. Using DSG_ExpandConstantTry('{app}', 1) there, as elsewhere in the module, fixes it.
EDIT
DSG 2.0.2.5 beta 3 HF: [Decomp.LOLZ] in DSG_Methods.ini points to INSTALLER\LOLZ\CLS-LOLZ.dll and
INSTALLER\LOLZ\CLS-LOLZ_x64.exe, but Resources\Win64\INSTALLER\LOLZ\ is not in the package
(the same files are in Win64\ as CLS-LOLZ_D.dll / CLS-LOLZ_D_x64.exe). Missing decompressors are
skipped silently, so Setup.dll has no LOLZ and unpacking fails with "Unarc.dll returned an error
code: -2 / unsupported compression method ...+lolz:...". Checked with /dll="x.dll"
/method="xtool:mzlib+addex+lolz:d140:mtt1:mt16:mc10 23" - the DLL has XTool, ADDeX, CLS-DISKSPAN,
no CLS-LOLZ.
EDIT2:
DSG 2.0.2.5 beta 3 HF: DSG_Methods.ini still points to INSTALLER\... files that are not in the
package (they were moved to Win64\ as *_D files). Missing decompressors are skipped silently,
so Setup.dll lacks them and unpacking fails with "unsupported compression method":
[Decomp.LOLZ] INSTALLER\LOLZ\CLS-LOLZ.dll, CLS-LOLZ_x64.exe -> Win64\CLS-LOLZ_D.dll, CLS-LOLZ_D_x64.exe
[Decomp.SREP_NEW] INSTALLER\SREP\CLS-SREP_NEW.dll -> Win64\CLS-SREP_D.dll
[Decomp.BPK] INSTALLER\BPK\CLS-BPK.dll -> Win64\CLS-BPK_D.dll
[Decomp.MPZMT] INSTALLER\MPZ-MT\CLS-MPZMT.dll -> Win64\CLS-MPZMT.dll
[Decomp.MSC_TAK] INSTALLER\MSC\CLS-MSC_TAK.dll - no matching file found.
Last edited by sajmon83; 16-11-2026 at 15:13.
|