1.80: ZIP Archive Folder Structure

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

Moderators: helmut, XnTriq, xnview

Locked
ckit
XnThusiast
Posts: 2583
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia
Contact:

1.80: ZIP Archive Folder Structure

Post by ckit »

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"
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Win11 x64 24H2, Hard Disk Sentinel Pro, MS PowerToys, Process Lasso Pro and Wintoys
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.80: ZIP Archive Folder Structure

Post by xnview »

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: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 1.80: ZIP Archive Folder Structure

Post by helmut »

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 »

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 »

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: 2583
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia
Contact:

Post by ckit »

This thread no longer has any purpose, please delete it.
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Win11 x64 24H2, Hard Disk Sentinel Pro, MS PowerToys, Process Lasso Pro and Wintoys
Locked