$ Add-AppxPackage -Path .\desktop_test.msix 'Add-AppxPackage' is not recognized as an internal or external comman d, operable program or batch file. flutter: Erorr: ShellException(Add-AppxPackage -Path .\desktop_test.msix, exitCode 1, workingDirectory: C:\Users\Lazizbek\Desktop\desktop_test)
Lazizbek97 opened this issue · comments
I'm going to run Add-AppxPackage command on windows but getting this error.
I think it does not work since it is a powershell command, not a binary that can be executed. I don't have a windows machine with me now, but I think you should be able to run something like this
powershell -command "Get-ChildItem -Path ."
i.e. running the powershell
binary with -command
param and the whole powershell command between "
"