Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] General Discussion

Thread Tools Rate Thread Display Modes
Old 08-07-2007, 04:55 PM
martys martys is online now
Registered User
Join Date: 06-09-2006
Posts: 24
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>
<Dest>FSE 8.5 SP%ServicePack% PL%PatchLevel%\FSE85SP%ServicePack%PL%PatchLevel%_</Dest>
<Ext><![CDATA[%B12005Dir%\Src\Install\Language Drop-In\chinese.exe
<Hidden type='11'>-1</Hidden>
<LogDetail type='11'>-1</LogDetail>
<indent type='3'>1</indent>
<name>Create Zip of Chinese Install + Documentation</name>

As you can see, it's adding
%B12005Dir%\Src\Install\Language Drop-In\chinese.exe
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 05:04 PM.
Reply With Quote
Old 08-07-2007, 05:42 PM
kinook kinook is online now
Join Date: 03-06-2001
Location: Colorado
Posts: 5,758
You would need to use two separate steps to add files from two different paths without storing their relative paths in the ZIP file.
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

All times are GMT -5. The time now is 07:58 PM.

Copyright 1999-2019 Kinook Software, Inc.