[SOLVED] 7-Zip support for HoverBox
[SOLVED] 7-Zip support for HoverBox
Hey Don,
Seeing as you just added preview for RAR files, I'd love to be able to preview all archive formats supported by 7-Zip as well (RAR being one of them btw):
Seeing as you just added preview for RAR files, I'd love to be able to preview all archive formats supported by 7-Zip as well (RAR being one of them btw):
Last edited by Leito on 04 Jan 2019 07:49, edited 1 time in total.
-
- Site Admin
- Posts: 60595
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: 7-Zip support for HoverBox
All? Come on, give me some that you are actually using...
FAQ | XY News RSS | XY Twitter
Re: 7-Zip support for HoverBox
Well, I use 7z, rar, tar, zip. (In my view it would though be a nice general solution. Anyway, a nice-to-have feature, when I am concerned.)
Win 10 Pro 64bit
Re: 7-Zip support for HoverBox
I (additionally) would need:
001 (multipart .rar archives)
cab (e.g. language files for windows)
iso (all my music is stored in these files)
bz2 / (tar.)gz (very often used for archives from linux)
001 (multipart .rar archives)
cab (e.g. language files for windows)
iso (all my music is stored in these files)
bz2 / (tar.)gz (very often used for archives from linux)
One of my scripts helped you out? Please donate via Paypal
Re: 7-Zip support for HoverBox
With 19.30.0029 when I hover over a 7z file that is password protected, the Hover Box shows 'Unknown error'.
Re: 7-Zip support for HoverBox
I would add the following extensions that haven't been cited yet:
- deb
- rpm
- tgz
- vhd
-
- Posts: 37
- Joined: 21 May 2018 18:45
Re: 7-Zip support for HoverBox
It does same for me ("Unknown error") for rar files with passwords, but not for all of them.
It's a normal behavior in my case, here is the explanation : when you choose to password a rar file, you can also tick "encrypt file names" then :
1) If you choose both (password + encrypt file names), then it's normal that the hover box doesn't show anything (as all file names are encrypted inside the rar) and displays an error message.
2) If you choose to password only, then file names inside the rar are visible on the computer : opening such a rar file with winrar shows you the filenames followed by an asterix * (but you can't decode the files if you don't know the password). So in this 2nd case, it's normal that the Hover box shows the filenames too (as Winrar shows them), though the filenames appear without * in the hover box
Now is it the same for elqasar2'z 7zip files ?
i don't know but you got the idea with winrar, in case it needs to be tested the same way with 7zip.
-
- Site Admin
- Posts: 60595
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: 7-Zip support for HoverBox
Thanks, folks, next version will handle all these things.
FAQ | XY News RSS | XY Twitter
Re: 7-Zip support for HoverBox
Thanks Don!
Forgot about that one: could you add the "ova" extension to the list as well? It is treated as a tar format by 7z.exe.
Forgot about that one: could you add the "ova" extension to the list as well? It is treated as a tar format by 7z.exe.
Re: 7-Zip support for HoverBox
I still get 'Unknown error.' when hovering a password protected 7z with 19.30.0030.
-
- Site Admin
- Posts: 60595
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: 7-Zip support for HoverBox
What is returned?
Code: Select all
text runret('"<path to 7z.exe>" l "<path to 7z archive>"');
Code: Select all
text runret('"<path to 7z.exe>" l ' . quote(<curitem>));
FAQ | XY News RSS | XY Twitter
Re: 7-Zip support for HoverBox
Sorry for interrupting with the following...
This seems not being resolved as expected:
Also, I do not find this a good idea:
Now I see that it is even not being resolved correctly in the address line. Is my expectation wrong - should one not use ".." for one level up?
This seems not being resolved as expected:
Code: Select all
<xypath>\..\Uncompress
Update:Note that if the path found in the INI does not exist XYplorer will try to automatically retrieve an existing path and update the INI value if successful.
Now I see that it is even not being resolved correctly in the address line. Is my expectation wrong - should one not use ".." for one level up?
Win 10 Pro 64bit
-
- Posts: 37
- Joined: 21 May 2018 18:45
Re: 7-Zip support for HoverBox
Hi Don,
2 changes (out of 3) worked for me in beta... 30, i.e:
1) Both ini file lines were automatically updated after Hover box on Rar & 7zip, great !
ZipPathUnRAR=%ProgramFiles%\WinRAR\UnRAR.exe
ZipPath7zip=%ProgramFiles%\7-Zip\7z.exe
2) Creating a 7zip with encrypted file names option returns this, great !
3) What didn't work is doing same for a rar file (password + encrypted file names)
=> "Unknown error" even in beta... 30
But it's not a problem if it can't be done for 3) , filenames won't show, so what ?
It's encrypted... or it's not a rar file (try rename a .txt to .rar and hover it, it will of course display "unknown error" !)
2 changes (out of 3) worked for me in beta... 30, i.e:
1) Both ini file lines were automatically updated after Hover box on Rar & 7zip, great !
ZipPathUnRAR=%ProgramFiles%\WinRAR\UnRAR.exe
ZipPath7zip=%ProgramFiles%\7-Zip\7z.exe
2) Creating a 7zip with encrypted file names option returns this, great !
3) What didn't work is doing same for a rar file (password + encrypted file names)
=> "Unknown error" even in beta... 30
But it's not a problem if it can't be done for 3) , filenames won't show, so what ?
It's encrypted... or it's not a rar file (try rename a .txt to .rar and hover it, it will of course display "unknown error" !)
Re: 7-Zip support for HoverBox
Code: Select all
7-Zip 18.05 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2018-04-30
Scanning the drive for archives:
1 file, 5714618 bytes (5581 KiB)
Listing archive: D:\OfficeRTool2018Aug26.7z
Enter password (will not be echoed):
Break signaled