Help - Search - Members - Calendar
Full Version: {EXTRACT} problem if target directory name has spaces
MSFN Forums > Member Contributed Projects > Windows Post-Install Wizard (WPI)

   


Google Internet Forums Unattended CD/DVD Guide
deadbug
I posted this in the 7.8.0 feature request thread, but really it's a bug report so I guess it should be a separate topic.

I cannot get {EXTRACT} to work if the target has a space in the path:

CODE
'{EXTRACT} %CDROM%\\DVD-Apps\\FlexRena80.rar "%ProgramFiles%\\Flexible Renamer\\"'
The above helpfully extracts to C:\Program ...

Maybe I've goofed somewhere, but if not, fixing that would allow be to package up some installers as .7z archives and drop them into the right place in one fell swoop.
Kelsenellenelvian
'{EXTRACT} %CDROM%\\DVD-Apps\\FlexRena80.rar "%ProgramFiles%\\Flexible Renamer"'

Try this
mritter
I saw it. Looking in to it..............
mritter
CODE
{EXTRACT} "%root%\\Downloads\\WPI.rar" "W:\\Work\\WPI Test\\"


Put quotes around both paths, spaces or not. It's very finicky. When you use the file requester it does the quotes for you for the source.
deadbug
QUOTE (mritter @ Oct 7 2009, 03:26 PM) *
CODE
{EXTRACT} "%root%\\Downloads\\WPI.rar" "W:\\Work\\WPI Test\\"


Put quotes around both paths, spaces or not. It's very finicky. When you use the file requester it does the quotes for you for the source.


Thanks - that's sorted it!




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.