|
#1
|
|||
|
|||
ZIPing files from different directories
If I want to ZIP two files together into the root of the ZIP from different directories, is that possible? Specifically, here's my step:
<step action='ZIP Files'> <Action type='3'>2</Action> <Compression>5</Compression> <Dest>FSE 8.5 SP%ServicePack% PL%PatchLevel%\FSE85SP%ServicePack%PL%PatchLevel%_ %buildnumber%_chinese.zip</Dest> <Ext><![CDATA[%B12005Dir%\Src\Install\Language Drop-In\chinese.exe %B12005DIR%\Src\Doco\AddingADisplayLanguage.pdf ]]></Ext> <Hidden type='11'>-1</Hidden> <LogDetail type='11'>-1</LogDetail> <indent type='3'>1</indent> <name>Create Zip of Chinese Install + Documentation</name> </step> As you can see, it's adding %B12005Dir%\Src\Install\Language Drop-In\chinese.exe and %B12005DIR%\Src\Doco\AddingADisplayLanguage.pdf But this creates unnecessary path information that I don't want, and I don't want to search recursively in subdirectories, because I only need those two specific files. Any thoughts? Should this be split into two steps? Anything else? I would rather not set the base directory to %B12005Dir%\Src and turn on "search recursively" since the tree structure there is rather large. Last edited by martys; 08-07-2007 at 04:04 PM. |
#2
|
|||
|
|||
You would need to use two separate steps to add files from two different paths without storing their relative paths in the ZIP file.
|
|
|