Thread: new tool
View Single Post
  #15  
Old 23-01-2018, 05:20
78372 78372 is offline
Registered User
 
Join Date: Dec 2016
Location: Bangladesh
Posts: 650
Thanks: 772
Thanked 953 Times in 309 Posts
78372 is on a distinguished road
Quote:
Originally Posted by NexusIV View Post
Hi Friends,
someone can help me? I used this CLS (thx 78372) for compression and decompression via Prompt/Command (Arc a and Arc x) and it works great.

My problem is when I have to use it in my innosetup script.

I added this lines:

Code:
#Define Bpk

#ifdef Bpk
Source: include\Compressors\cls-bpk.dll; DestDir: {tmp}; Flags: dontcopy
#endif
...
...

#ifdef Bpk
ExtractTemporaryFile('cls-bpk.dll');
#endif
The setup is compiled correctly but when I start the installation "unarc.dll return error -1"

For information I have not included anything in my arc.ini since the CLS decompresses perfectly the same file ".bin" via Command.

Where am I wrong?

Thanks in advance & Best Regards
Various errors can be there, doesn't seem to be a cls error. Try with original cls unpacking from profrager, if the error persists, then it's not my cls error.
__________________
NOT AVAILABLE
Reply With Quote