[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: extracting a zip archive via elisp (with no external executables)
From: |
Eli Zaretskii |
Subject: |
Re: extracting a zip archive via elisp (with no external executables) |
Date: |
Sun, 09 Jul 2017 23:09:10 +0300 |
> From: Saulius Menkevičius <address@hidden>
> Date: Sun, 9 Jul 2017 22:49:50 +0300
> Cc: address@hidden,
> address@hidden,
> address@hidden
>
> > (w32-shell-execute "open" "FILENAME.zip")
> > or
> > (w32-shell-execute "explore" "FILENAME.zip")
> >
> > (replace FILENAME.zip with the actual file name). This will open the
> > Windows Explorer showing the contents of the zip archive, and you
> > should tell your users to click "File->Extract all" to extract the
> > files into the directory of their choosing.
> >
> >> Instructing the user to install 7-zip or something else manually kind of
> >> invalidates the purpose of automatic installation.
> >
> > Please never suggest to install 7z, it's not Free Software on Windows
> > (and on Unix it's less capable to make it Free Software). If someone
> > needs 7z capabilities, the best Free Software alternative is bsdtar
> > from the libarchive project.
>
> My questions is still, is it possible to avoid involving user in this
> procedure?
But the user is already involved -- they started the installation to
begin with, didn't they? So why do you want so hard to avoid them
clicking one more button?
> Or do I need to roll out my own zip parser + extractor in elisp to do so :(
> Which is probably slightly complicated thing to do.. Compared to what I
> am trying to achieve.
Maybe somebody knows how to tell the Explorer to extract the files
without user interaction. I don't.
- extracting a zip archive via elisp (with no external executables), Saulius Menkevičius, 2017/07/09
- Re: extracting a zip archive via elisp (with no external executables), Alan Third, 2017/07/09
- Re: extracting a zip archive via elisp (with no external executables), Saulius Menkevičius, 2017/07/09
- Re: extracting a zip archive via elisp (with no external executables), Kaushal Modi, 2017/07/09
- Re: extracting a zip archive via elisp (with no external executables), Saulius Menkevičius, 2017/07/09
- Re: extracting a zip archive via elisp (with no external executables), Eli Zaretskii, 2017/07/09
- Re: extracting a zip archive via elisp (with no external executables), Saulius Menkevičius, 2017/07/09
- Re: extracting a zip archive via elisp (with no external executables),
Eli Zaretskii <=
- Re: extracting a zip archive via elisp (with no external executables), Saulius Menkevičius, 2017/07/09
- Re: extracting a zip archive via elisp (with no external executables), Eli Zaretskii, 2017/07/09
- Re: extracting a zip archive via elisp (with no external executables), Fabrice Popineau, 2017/07/10