Archive: Sub Folders of INSTDIR


Sub Folders of INSTDIR
Hello People,

Having used NSIS to download a file on the web, like: <blah.com/subfolder/myfile.jpg>

I want to install this file locally, keeping the same folder structure, such as $INSTDIR/subfolder.

Given the web path as a string, how can I do this using NSIS?

Thanks.


SetOutPath "$INSTDIR\blah.com\Subfolder"
NSISdl::download "http://blah.com/subfolder/myfile.jpg" "myfile.jpg"