malboxes icon indicating copy to clipboard operation
malboxes copied to clipboard

tools_path which includes files with spaces in the name will fail

Open obilodeau opened this issue 9 years ago • 1 comments

File names with spaces will cause packer to abort with:

Build 'virtualbox-iso' errored: Error restoring file from $env:TEMP\winrmcp-57976d77-c664-49bd-14ed-dd28996a28c2.tmp to 'C:\Tools\ExeinfoPe\skins\Skin - blue deep water.jpg': restore operation returned code=1

Upstream bug: mitchellh/packer#2714

Workaround: Avoid files with spaces in them in your tools directory. You can use zip files instead. Or package the tools and install through chocolatey.

obilodeau avatar Aug 05 '16 19:08 obilodeau

This was apparently fixed in packer 0.12.2. We will need to re-test.

obilodeau avatar Feb 07 '17 20:02 obilodeau