1.80: ZIP Archive Folder Structure

Bugs and Issues in 1.82 Test versions which have been fixed and verified as resolved.

Moderators: XnTriq, xnview

Locked
ckit
XnThusiast
Posts: 2445
Joined: Tue Feb 17, 2004 1:11 am

1.80: ZIP Archive Folder Structure

Post by ckit » Mon Jun 20, 2005 6:53 am

Ever since I started using XnView 1.70.4 and higher the ZIP archives have always had a 2-level depth folder structure....

"viewer.windows\XnView\..."

Which means you have to climb through 2 folder levels before you get to the files you want to extract. Most Zip use a 0 level structure like...

"\..."

which allows you direct access to the files the instant you open the archive with your archiver (I use WinRAR 3.50 beta)

Any chance we can change to a 0 level structure for ZIP (and maybe even RAR) archives?

Current Workaround for WinRAR users:
Drag and Drop the files from WinRAR into your file manager (C:\Program Files\XnView)
Do NOT use "Extract To"
Windows 10 Pro x64 1909
XnViewMP and Classic and PhotoFiltre Studio X

User avatar
xnview
Author of XnView
Posts: 32459
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.80: ZIP Archive Folder Structure

Post by xnview » Mon Jun 20, 2005 7:55 am

ckit wrote:Ever since I started using XnView 1.70.4 and higher the ZIP archives have always had a 2-level depth folder structure....

"viewer.windows\XnView\..."

Which means you have to climb through 2 folder levels before you get to the files you want to extract. Most Zip use a 0 level structure like...

"\..."

which allows you direct access to the files the instant you open the archive with your archiver (I use WinRAR 3.50 beta)

Any chance we can change to a 0 level structure for ZIP (and maybe even RAR) archives?

Current Workaround for WinRAR users:
Drag and Drop the files from WinRAR into your file manager (C:\Program Files\XnView)
Do NOT use "Extract To"
It's an error that there is viewer.windows in .zip files!
Pierre.

User avatar
helmut
Posts: 8176
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 1.80: ZIP Archive Folder Structure

Post by helmut » Mon Jun 20, 2005 5:17 pm

Thank you ckit, for raising this. I think most people have downloaded the setup version and didn't even notice that there is a problem in the ZIP archive.
xnview wrote:It's an error that there is viewer.windows in .zip files!
So the "viewer.windows" won't be there in the final version.

What is left and needs to be discussed is whether the folders should be \xnview\.. or just \... I'm a bit indifferent regarding this:
On one hand the extra directory takes away flexibility: If you have a version of XnView installed in C:\Program Files\XnView, already, you will not be able to unpack this to C:\Program Files\XnView New Version. You will have to unpack to another parent directory first and then move and rename your folder.

On the other hand the extra directory "xnview" prevents users from creating a real mess when unpacking XnView to C:\Program Files by accident.

What do other people think?

Guest

Post by Guest » Mon Jun 20, 2005 5:38 pm

I prefer having XnView\ so that when installing for the first time I can just DragNDrop the XnView folder to install it.

Freeware-User
Posts: 19
Joined: Thu May 19, 2005 2:24 pm
Location: Portugal

Re: 1.80: ZIP Archive Folder Structure

Post by Freeware-User » Mon Jun 20, 2005 7:09 pm

helmut wrote:On the other hand the extra directory "xnview" prevents users from creating a real mess when unpacking XnView to C:\Program Files by accident.
I think the same, because that way accidents is prevented. Special for newbies. And i prefer the zip archive, for create a personal installer for my use, with personal settings, plugins, skins, etc.

Inté.. :P
Free, even in software. # (Sorry for my english..) :( # PC Spec: P4, 512mb ram, Onboard VGA, WinXP Pro SP2 PTG

ckit
XnThusiast
Posts: 2445
Joined: Tue Feb 17, 2004 1:11 am

Post by ckit » Sat Jul 16, 2005 11:19 am

This thread no longer has any purpose, please delete it.
Windows 10 Pro x64 1909
XnViewMP and Classic and PhotoFiltre Studio X

Locked