Skip to content

无法移动哗哩哗哩UWP #753

Answered by ywmoyue
ZiLeYunk asked this question in Q&A
Discussion options

You must be logged in to vote

参考微软文档

https://learn.microsoft.com/en-us/powershell/module/appx/move-appxpackage?view=windowsserver2022-ps#example-1-move-a-package-to-a-volume-specified-by-a-path

https://learn.microsoft.com/en-us/powershell/module/appx/add-appxpackage?view=windowsserver2022-ps#-volume

我测了下可以卸载应用后修改脚本Add-AppDevPackage.ps1Add-AppxPackage -Path $DeveloperPackagePath.FullName -DependencyPath $DependencyPackages.FullName -ForceApplicationShutdownAdd-AppxPackage -Path $DeveloperPackagePath.FullName -ForceApplicationShutdown之后添加参数 -Volume D:\

然后运行Install.ps1就能安装到D盘了

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ZiLeYunk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants