Repository navigation
Document PSCore6 MSI properties #2007
Description
Activity
bergmeister commented
on Jan 4, 2018 ContributorMore actionsAs discussed in the referenced PR, the new property
ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELLwill only be present in PS 6.1 but it still makes sense to have a general documentation of the current msi
To install PowerShell quietly from command line an eleavted command shell needs to be launched.
One can install PowerShell Core in cmd as follows:msiexec /i Path/To/PowerShell-X.Y.Z.0-x64.msi /qOr in PowerShell as:
& Path/To/PowerShell-X.Y.Z.0-x64.msi /qTo check success, one can assert against the exitcode
$LASTEXITCODE, which should be 0 .
In both cases, one can add the following argument to add the context menu to explorer (the value does not need to be one but supplying any value will work.)ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1For debugging installer problems, it is also handy to add the following argument, which will create a log file.
/l*vx installerLog.txtReacted by Steve Leebergmeister commented
on Jan 7, 2018 ContributorMore actionsI see that a lot of installation documentation is in the PowerShell repo (e.g. here). Do we plan to move it to this repo or is the idea to point it to the release specific branch?
bergmeister commented
on Feb 28, 2018 ContributorMore actionsThe referenced PR above added the
ENABLE_PSREMOTINGandREGISTER_MANIFESTproperties that need to be set to 1 in order to be run.SteveL-MSFT commented
on Mar 6, 2018 ContributorAuthorMore actionsSean Wheeler (@sdwheeler) I think we should consider having the installation docs converted to an about_ topic
Reacted by Joey Aiello- addedarea-setupArea - Installer packages and configurationArea - Installer packages and configuration
on Oct 15, 2018 About_topics need to be reconciled all up with the existing TOC. Let's not mix that effort with the need to write content right now.
Also related to #3048
- added a commit that references this issue
on Aug 26, 2019
Issue Details
Christoph Bergmeister (@bergmeister) added new capability to the MSI installer for adding context menus. Users can specify this property with a
/qquiet install but needs to know the property name a priori.Should also document other aspects of the installer like it adds pwsh to the system path.
Version(s) of document impacted
Reason(s) for not selecting all version of documents