Skip to content

Can't start .msi from powershell core #4499

@SteveL-MSFT

Description

@SteveL-MSFT

Invoke-Item on the MSI does work

Steps to reproduce

PS C:\Users\slee\repos\PowerShell> .\PowerShell-6.0.0-beta.5-win10-win2016-x64.msi

Expected behavior

MSI installer to start

Actual behavior

Cannot run a document in PowerShell Core: C:\Users\slee\repos\PowerShell\PowerShell-6.0.0-beta.5-win10-win2016-x64.msi.
At line:1 char:1
+ .\PowerShell-6.0.0-beta.5-win10-win2016-x64.msi
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (C:\Users\slee\r...win2016-x64.msi:String) [], RuntimeException
    + FullyQualifiedErrorId : CantActivateDocumentInPowerShellCore

Environment data

Name                           Value
----                           -----
PSVersion                      6.0.0-beta
PSEdition                      Core
GitCommitId                    v6.0.0-beta.5-8-g879b7da4ac327865570d3e696a744d49e8eb7c85-dirty
OS                             Microsoft Windows 10.0.16257
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Metadata

Metadata

Assignees

Labels

Resolution-FixedThe issue is fixed.WG-Enginecore PowerShell engine, interpreter, and runtime

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions