alesimula / wsa_pacman

A GUI package manager and package installer for Windows Subsystem for Android (WSA)
GNU General Public License v3.0
3.9k stars 836 forks source link

Install via Scoop #10

Closed wenmin92 closed 2 years ago

wenmin92 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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

wenmin92 commented 2 years ago

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 commented 2 years ago

@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 commented 2 years ago

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 commented 2 years ago

@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 commented 2 years ago

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

wenmin92 commented 2 years ago

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

Okay, then this one.

wenmin92 commented 2 years ago

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