[Bug]: heu-kms-activator failed to install
visualwind opened this issue · comments
Prerequisites
- I have written a descriptive issue title.
- I have searched all issues/PRs to ensure it has not already been reported or fixed.
- I have verified that I am using the latest version of Scoop and corresponding bucket.
Package Name
heu-kms-activator
Expected/Current Behaviour
failed to install
Steps to Reproduce
PS C:\Users\visualcloud> scoop uninstall heu-kms-activator -p
Uninstalling 'heu-kms-activator' (8.1.21)
Unlinking C:\Scoop\apps\heu-kms-activator\current
Removing older version (30.1.0).
Removing persisted data.
'heu-kms-activator' was uninstalled
PS C:\Users\visualcloud> scoop bucket rm Doveboy
'Doveboy' bucket removed
PS C:\Users\visualcloud> scoop install heu-kms-activator
Installing 'heu-kms-activator' (30.1.0) [64bit] [apps]
WARN By installing you accept following license: Freeware (https://spdx.org/licenses/Freeware.html)
Loading HEU_KMS_Activator_v30.1.0.zip from cache.
Checking hash of HEU_KMS_Activator_v30.1.0.zip ... ok.
Running pre-install script...
Rename-Item : 无法重命名,因为“C:\Scoop\apps\heu-kms-activator\30.1.0\HEU_KMS_Activator_v*.exe”处不存在项。
所在位置 行:3 字符: 1
+ Rename-Item "$dir\HEU_KMS_Activator_v*.exe" "HEU_KMS_Activator.exe" - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Rename-Item],PSInvalidOperationException
+ FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.RenameItemCommand
Linking C:\Scoop\apps\heu-kms-activator\current => C:\Scoop\apps\heu-kms-activator\30.1.0
Creating shim for 'HEU_KMS_Activator'.
ERROR Cannot shim 'HEU_KMS_Activator.exe': File does not exist
Please try again or create a new issue by using the following link and paste your console output:
https://github.com/DoveBoy/Apps/issues/new?title=heu-kms-activator%4030.1.0%3a+Shim+creation+fail&body=Cannot+shim+%27HEU_KMS_Activator.exe%27%3a+File+does+not+exist
ERROR This application failed to install: apps/heu-kms-activator
Possible Solution
the script file name is wrong
Scoop and Buckets Version
scoop --version
PowerShell version: 5.1.19041.2364
Useragent: Shovel/1.0 (+https://shovel.ash258.com) PowerShell/5.1 (Windows NT 10.0.19043.0; Win64; x64;)
Current Scoop (Shovel) version:
52fe1646 (HEAD -> main, origin/master, origin/main, origin/HEAD) fix(Diagnostic): Better handling of migrated repos
'apps' bucket:
b99c7b92 (HEAD -> master, origin/master, origin/HEAD) go-musicfox: Update to version 3.7.6
Scoop Config
{
"lastupdate": "258|2023-03-25 03:50:29",
"SCOOP_REPO": "https://github.com/Ash258/Scoop-Core",
"SCOOP_BRANCH": "main",
"alias": {
"one": "scoop-one",
"clean": "scoop-clean"
},
"aria2-enabled": true,
"MSIEXTRACT_USE_LESSMSI": true,
"proxy": "127.0.0.1:1619"
}
PowerShell Version
$PSVersionTable
Name Value
---- -----
PSVersion 5.1.19041.2364
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19041.2364
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Additional Softwares
No response