Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can you add support zip on windows #183

Open
asine opened this issue Apr 6, 2021 · 4 comments
Open

can you add support zip on windows #183

asine opened this issue Apr 6, 2021 · 4 comments

Comments

@asine
Copy link

asine commented Apr 6, 2021

can you add support zip on windows?

@Deadpikle
Copy link
Collaborator

Hi @asine,

It's not in my plans right now, no. That would need to come from a community contribution. There's a lot of variables with zip files (format of file, lack of native .bat support that works back to Windows 7, etc.), and I am not going to consider adding support for those myself any time soon.

You are more than welcome to add it for your own needs by using your own SparkleUpdater subclass that reimplements RunDownloadedInstaller with that additional functionality.

@Deadpikle
Copy link
Collaborator

@Jazzman82
Copy link

We have just implemented a solution based on 7zip self-extracting-archives (.exe) which works out-of-the box without changes to netsparkle's interna.

Key here is to perpare an archive like described here: https://documentation.help/7-Zip/sfx.htm which can be extracted with NetSparkle using the "CustomInstallerArguments" like this:
CustomInstallerArguments = $"-o{Path.GetDirectoryName(Environment.ProcessPath)} -y"

Seems to work pretty well.

@Rwing
Copy link
Contributor

Rwing commented Mar 4, 2023

Is there any progress on this issue? Perhaps we can create a universal ZipExtractor.exe to solve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants