ScoopInstaller / Versions

📦 A Scoop bucket for alternative versions of apps.
https://scoop.sh
The Unlicense
183 stars 193 forks source link

[Bug]: wixtoolset@3.14.1 installation throws error #1763

Closed shaqo88 closed 1 month ago

shaqo88 commented 1 month ago

Prerequisites

Package Name

wixtoolset@3.14.1

Expected/Current Behaviour

When installing wixtoolset version 3.14.1, getting PoSH error of "Could not find 'any'! (error 16)" Note: latest version (5.0.0) can be installed successfully.

Steps to Reproduce

λ scoop install wixtoolset@3.14.1
WARN  Given version (3.14.1) does not match manifest (5.0.0)
WARN  Attempting to generate manifest for 'wixtoolset' (3.14.1)
Autoupdating wixtoolset
Downloading wix.3.14.1.nupkg to compute hashes!
Loading wix.3.14.1.nupkg from cache
Computed hash: 15d50463c73dce31fbea5440ac33af47e92d54d4188166d207e9e39577b8fe0f
Writing updated wixtoolset manifest
Installing 'wixtoolset' (3.14.1) [64bit] from 'C:\Users\<MYNAME>\scoop\workspace\wixtoolset.json'
Loading wix.3.14.1.nupkg from cache
Checking hash of wix.3.14.1.nupkg ... ok.
Extracting wix.3.14.1.nupkg ... Exception: C:\Users\<MYNAME>\scoop\apps\scoop\current\lib\core.ps1:864
Line |
 864 |          throw "Could not find '$(fname $from)'! (error $($proc.ExitCo …
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Could not find 'any'! (error 16)

Possible Solution

Cannot understand the bug in the script.

Scoop and Buckets Version

λ scoop --version
Current Scoop version:
d337bb1f (HEAD -> master, tag: v0.4.2, origin/master, origin/HEAD) chore(release): Bump to version 0.4.2 (#5964)

'main' bucket:
4c0f854a1 (HEAD -> master, origin/master, origin/HEAD) edgedriver: Update to version 124.0.2478.109

'extras' bucket:
874494f8a (HEAD -> master, origin/master, origin/HEAD) ungoogled-chromium: Update to version 125.0.6422.112-1.1

'versions' bucket:
7c3e8e6a5 (HEAD -> master, origin/master, origin/HEAD) vlc-nightly: Update to version 20240526

'sysinternals' bucket:
e669cc0 (HEAD -> main, origin/main, origin/HEAD) chore(ci): switch to `pull_request_target` trigger

'java' bucket:
dcc2673f (HEAD -> master, origin/master, origin/HEAD) temurin8-nightly-jre: Update to version 8.0.422-2.0.202405231342

Scoop Config

λ scoop config

last_update        use_lessmsi scoop_branch scoop_repo
-----------        ----------- ------------ ----------
26-May-24 12:05:59        True master       https://github.com/ScoopInstaller/Scoop

PowerShell Version

PS C:\Users\ShaulRoyzen> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.22621.2506
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.22621.2506
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Additional Softwares

No response

niheaven commented 1 month ago

Please run scoop install wixtoolset3 instead.