PS C:\Windows\system32> choco install mac-precision-touchpad -y
Chocolatey v2.3.0
Installing the following packages:
mac-precision-touchpad
By installing, you accept licenses for the packages.
mac-precision-touchpad v0.2105.3979 already installed.
Use --force to reinstall, specify a version to install, or try upgrade.
Chocolatey installed 0/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Warnings:
- mac-precision-touchpad - mac-precision-touchpad v0.2105.3979 already installed.
Use --force to reinstall, specify a version to install, or try upgrade.
어쨋든 분석을 해보니 설치 스크립트가 윈도우 11은 지원을 안하는 것으로 보여
해당 부분을 주석 처리 하고 다시 실행 하였다.
$ErrorActionPreference = 'Stop'
# there is no documented exit codes for the utility, but we do not know of some invalid ones.
$invalidExitCode = @(2)
$toolsDir = Split-Path -parent $MyInvocation.MyCommand.Definition
# Check OS version - only works on Windows 10
#Write-Debug "OS Name: $($env:OS_NAME)"
# 여기 아래 3줄을 주석 처리해주세요
#if ($env:OS_NAME -ne "Windows 11") {
# throw "Cannot be installed on this version of Windows. Requires Windows 10 x64."
#}
Set-Location -Path (Join-Path -Path $toolsDir -ChildPath 'drivers\amd64')
pnputil /add-driver AmtPtpDevice.inf /install
if ($invalidExitCode -contains $LASTEXITCODE) {
throw "Driver did not install correctly. Please see the previous output from 'pnputil' (exit code $LASTEXITCODE)."
}
권한 문제 때문에 수정이나 실행이 안될수 있으니 폴더를 그대로 복사하여 수정하는것을 권장한다. 개발을 모르시는분은 설치도 못하겠구나 ㅠ