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

Install via Scoop #10

Closed
wenmin92 opened this issue Dec 23, 2021 · 12 comments
Closed

Install via Scoop #10

wenmin92 opened this issue Dec 23, 2021 · 12 comments

Comments

@wenmin92
Copy link

wenmin92 commented Dec 23, 2021

Scoop is a famous Windows package manager, we can use scoop to install & update wsa_pacman.

Once added to the scoop bucket, we can install and update it like this:

scoop install wsa-pacman
scoop update wsa-pacman

Installation and updates will be a breeze.

@alesimula
Copy link
Owner

Does it handle file associations though?

Or dependencies? In case it does, it needs Visual C++ redistributable as a dependency, otherwise I might need to add the DLLs to the portable zip

@wenmin92
Copy link
Author

Does it handle file associations though?

Not yet, but we can add scripts in the manifest to handle file associations.

Or dependencies? In case it does, it needs Visual C++ redistributable as a dependency, otherwise I might need to add the DLLs to the portable zip

Scoop supports adding dependencies, but which version of Visual C++ does this app depend on?

@alesimula
Copy link
Owner

alesimula commented Dec 24, 2021

The flutter desktop documentation doesn't seem to specify the version but it says it needs these files specifically

msvcp140.dll
vcruntime140.dll
vcruntime140_1.dll

@wenmin92
Copy link
Author

The flutter desktop documentation doesn't seem to specify the version but it says it needs these files specifically

Note here:

However, the version of the Microsoft Visual C++ redistributable installed on the machine must be the same or higher than the version of the Visual C++ toolset used to create your application.

Since flutter requires Visual Studio 2019 to be installed, the vcredist version here should be at least 2019.

@alesimula
Copy link
Owner

@wenmin92 doesn't the vcredist scoop package install the latest version?

@wenmin92
Copy link
Author

doesn't the vcredist scoop package install the latest version?

No, each version of vcredist has a separate manifest, and we can choose to install any version.

@alesimula
Copy link
Owner

@wenmin92

What about this one?

The exe which the "url" points to seems to be the same all-in-one installer I bundle in my installer (as per screenshot)

image

@wenmin92
Copy link
Author

What about this one?

The exe which the "url" points to seems to be the same all-in-one installer I bundle in my installer (as per screenshot)

image

Oh, I'm sorry, I didn't know this package existed, this is certainly better.

@wenmin92
Copy link
Author

@wenmin92

What about this one?

This is not recommended because it depends on vcredist 2005 ~ 2013, causing these vcredist versions to be installed before installing it, which we don't need.

@alesimula
Copy link
Owner

@wenmin92 What about this one?, seems to only install the 2015-2022

@wenmin92
Copy link
Author

@wenmin92 What about this one?, seems to only install the 2015-2022

Okay, then this one.

@wenmin92
Copy link
Author

It has been added to scoop's extras bucket, and now we can use scoop to install wsa-pacman. 🎉

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

No branches or pull requests

2 participants