Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #1  
Old 04-18-2005, 03:16 PM
Kerfufl Kerfufl is online now
Registered User
 
Join Date: 02-12-2004
Location: Ottawa, Ontario, Canada
Posts: 12
Zip Error: "Zip file structure invalid"

I am getting an error "Zip file structure invalid" from the zip step. The Source folder is valid, and the dest zip file path is good.

The step produces the zip file and then dies with the error.

Any ideas?

I google'd but didn't find anything helpful.
Reply With Quote
  #2  
Old 04-18-2005, 08:51 PM
kevina kevina is online now
Registered User
 
Join Date: 03-27-2003
Posts: 825
We can't reproduce that behaviour here, can you create a reproduceable case? At a minimum we will need to see the configuration of the Zip Files step you are using (you can copy the step to the clipboard then paste to an email or a forum post, an xml fragment for the step will be pasted). But a reproduceable case (build file and folder that doesn't zip correctly) would be much better...

Is there anything unusual/invalid about the folder and/or file names being zipped?
Reply With Quote
  #3  
Old 04-19-2005, 07:42 AM
Kerfufl Kerfufl is online now
Registered User
 
Join Date: 02-12-2004
Location: Ottawa, Ontario, Canada
Posts: 12
It happens when the file already exists, and the "Action" is set to Add. If i delete the existing zip and rerun the step it runs successfully.

The zip step is:

<step action='ZIP Files' type='1'>
<Action type='3'>0</Action>
<Compression>5</Compression>
<Dest>%DIR_Build_Release%\%TMP_VDF%\ZIP\%TMP_VDF%. zip</Dest>
<Ext>*.*</Ext>
<Hidden type='11'>-1</Hidden>
<LogDetail type='11'>-1</LogDetail>
<Recurse type='11'>-1</Recurse>
<Source>%DIR_Staging%\%TMP_IX_ALLFLAVORS%</Source>
<indent type='3'>2</indent>
<name>Zip each flavor </name>
</step>
Reply With Quote
  #4  
Old 04-19-2005, 04:15 PM
kevina kevina is online now
Registered User
 
Join Date: 03-27-2003
Posts: 825
This has been confirmed as a bug in the current version. An updated dll (VisBuildExt.dll) is attached to this post that rectifies this particular error.

Installation instructions:
1) download the updated VisBuildExt.dll file (available zipped @ ftp://ftp.kinook.com/VisBuildExt.zip)
2) backup the VisBuildExt.dll file in your Visual Build Professional installation path
3) overwrite it with the updated VisBuildExt.dll file

Note: this is an interim fix, and will be included in the next minor release of Visual Build Professional. The attached, updated file only fixes this specific issue and has not been fully regression tested, only update this file if you are encountering the "Zip file structure invalid" error as reported in this forum thread.
Reply With Quote
  #5  
Old 04-21-2005, 02:36 PM
Kerfufl Kerfufl is online now
Registered User
 
Join Date: 02-12-2004
Location: Ottawa, Ontario, Canada
Posts: 12
excellent, thanks.
Reply With Quote
Reply


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 06:34 PM.


Copyright © 1999-2023 Kinook Software, Inc.