ScoopInstaller / Main

📦 The default bucket for Scoop.
https://scoop.sh
The Unlicense
1.6k stars 967 forks source link

[Request] WireGuard #397

Closed linsui closed 4 years ago

linsui commented 5 years ago

WireGuard use msi installer and need privilege to install wintun driver. Before 0.0.17, something like this may work.

    "installer": {
        "script": "Invoke-ExternalCommand pnputil -ArgumentList \"/add-driver `\"$dir\\WireGuard\\wintun.inf`\"\" -RunAs"
    },
    "uninstaller": {
        "script": "Invoke-ExternalCommand pnputil -ArgumentList \"/delete-driver wintun.inf\" -RunAs"
    },

But after several updates, lessmsi can't extract wintun driver file anymore. Dark can extract a dll file but I can't extract wintun driver from it.

    "msi": {
        "code": "620E1CAA-61DB-4767-90F2-59ADB37ECA36"
    },

This works, but wireguard will be installed in Program Files . msi will be removed in https://github.com/lukesampson/scoop/pull/3502 . Should we keep msi or move it to installer.type.msi ?

linsui commented 4 years ago

Still impossible. Closed.

zx2c4 commented 3 years ago

The installer no longer installs wintun, or any driver. Instead, the app does this when it needs to.