Page 1 of 1

Eroneous variable expansion (Custom Unpacker)

Posted: 03 Jan 2013, 15:23
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)

Re: Eroneous variable expansion (Custom Unpacker)

Posted: 09 Jan 2013, 14:00
by Petr Solin
Thanks for report! I have fixed this bug. The same bug was in packing to archive.