'Edit installation path

I want to install appx Package with $Add-AppxPackage, but I need to install the app on my 2nd HDD, so how to change installation path in PowerShell $Add-AppxPackage?



Solution 1:[1]

I just copied the files where i wanted them to be (not program files though, doesn't work) set-location "THE FILEPATH YOU TRANSFERRED TO" And then run the Add-AppPackage command once you're in the directory

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 LuckyFind