Eroneous variable expansion (Custom Unpacker)

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
User avatar
SvA
Posts: 486
Joined: 29 Mar 2006, 02:41
Location: DE

Eroneous variable expansion (Custom Unpacker)

Post by SvA »

I had been trying to extract files from an archive located in a path below a directory with a $ in it (F:\TEMP\$DOCUMENTS), to a subdirectory with the name of the archive, using a custom unpacker.
I got the error message
Expecting variable name or '$' character.
followed by
Error parsing archiver initial directory.
Obviously, AS is trying to do variable substitution where it ought not, probably rescanning the values of previously expanded variables.
Moreover, the 2nd error message is confusing, since no "Archiver initial directory" is configured nowhere. The offender is actually the destination path for the extracted files.

Unpacker's (7z.exe) Arguments configuration is
x -scsWIN "$(ArchiveFullName)" @$(ListDOSFullName)
Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1112
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Re: Eroneous variable expansion (Custom Unpacker)

Post by Petr Solin »

Thanks for report! I have fixed this bug. The same bug was in packing to archive.
Post Reply