webi-installers
webi-installers copied to clipboard
[Bug] fails in PowerShell Core 7.x (but works in PowerShell Classic 5.x)
What were you trying to install (or what else went wrong)?
installing/updating ANY webi package
What exactly did you do?
Running webi webi
for instance
What went wrong?
Running the this command using Windows Terminal (running powershell 7.4.1 or 7.5 preview) results in an error (any installer fails, just using webi webi
as an example)
Set-ExecutionPolicy : The 'Set-ExecutionPolicy' command was found in the module 'Microsoft.PowerShell.Security', but
the module could not be loaded. For more information, run 'Import-Module Microsoft.PowerShell.Security'.
At C:\Users\thul\.local\tmp\webi.install.ps1:7 char:1
+ Set-ExecutionPolicy -Scope Process Bypass
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Set-ExecutionPolicy:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CouldNotAutoloadMatchingModule
Windows Terminal is running version 1.20.10822.0
Might be related to https://github.com/PowerShell/PowerShell/issues/18530 ?
Which OS did you try on?
- [ ] Mac
- [X] Windows
- [ ] Linux
What type of computer (i.e. laptop, desktop, Raspberry Pi)?
- [X] Laptop or Desktop (amd64 / x86-64)
- [ ] Raspberry Pi (ARM-64)
- [ ] Other (please specify, if you know)