# Not able to open created zip-archive with winzip

**URL:** https://www.finalbuilder.com/forums/t/not-able-to-open-created-zip-archive-with-winzip/1187
**Category:** Discussion
**Created:** [April 27, 2009, 11:12am UTC](https://www.finalbuilder.com/forums/t/not-able-to-open-created-zip-archive-with-winzip/1187 "2009-04-27T11:12:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [April 27, 2009, 11:12am UTC](https://www.finalbuilder.com/forums/t/not-able-to-open-created-zip-archive-with-winzip/1187/1 "2009-04-27T11:12:00Z")

</div>

Hi, I have experienced something odd. I’m trying to create a client-package with “Create Zip File”-action in FB 6.2.0.1074. I use a variable to store the filenames to be added. But the result is not possible to open with WinZip. “Cannot open file: it does not appear to be a valid archive”. It can however open the archive with windows explorer.

But if I instead copy the files to a temp-directory, and add the files to the zip-file using wildcards I have no problems opening the file.

I have tried to turn on and off every option, but no difference. Does anybody have a suggestion?

Regards,

Håvar

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [April 28, 2009, 1:23am UTC](https://www.finalbuilder.com/forums/t/not-able-to-open-created-zip-archive-with-winzip/1187/2 "2009-04-28T01:23:29Z")

</div>

Hi Havar,   
  
 We’ve not been able to reproduce the problem here, would you be able to send in your FinalBuilder project file into support [at] [finalbuilder.com](http://finalbuilder.com)?   
  
 In the mean time as an alternative to using the ‘Create Zip File’ action you can use the 7-Zip actions to create your archive.   
  
 Regards,   
 Paul.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [April 28, 2009, 2:20am UTC](https://www.finalbuilder.com/forums/t/not-able-to-open-created-zip-archive-with-winzip/1187/3 "2009-04-28T02:20:12Z")

</div>

Hi - it was no bug, but my fault.

When I prepared the package for you i discovered the fault on my side. The textfile that was read into the variable contained a blank line at the end. The variable was later modified to give the full path of the files. The fault was that the blank line was also given a directory-path. For some reason the zip-action didn't fail, but the result was only readable to Windows Explorer, not WinZip.

Regards,

Håvar
