Skip to content

MSI installer run RegisterManifest.ps1 and Enable-PSRemoting #5979

Description

Users may not be aware that they need to run RegisterManifest.ps1 to get logging and Enable-PSRemoting to have a PSCore6 remoting endpoint. The MSI installer should have two checkboxes: register eventing manifest (checked by default), register powershell remoting (unchecked by default) along with appropriate MSI options for quiet installs.

Activity

  1. bergmeister commented on Jan 22, 2018

    @bergmeister
    Contributor

    Do those 2 scripts need to be run as admin?

  2. SteveL-MSFT commented on Jan 22, 2018

    @SteveL-MSFT
    MemberAuthor
  3. bergmeister commented on Jan 22, 2018

    @bergmeister
    Contributor

    Steve Lee (@SteveL-MSFT) I'll tackle this if you don't mind. I already have a dummy prototype working that executes a psscript as an admin but I will be busier for the rest of this week, so I guess you can expect a PR in February if that's OK?
    Have a think about the UI aspect please in the meantime (I think we need more details in parenthesis to briefly explain what the options mean) and the preferred name for the MSI properties. I suggest putting it together with the existing custom dialog:
    image

  4. SteveL-MSFT commented on Jan 22, 2018

    @SteveL-MSFT
    MemberAuthor

    Christoph Bergmeister (@bergmeister) consider it yours! Thanks!

    No rush as 6.1.0 previews will come out on a regular cadence. If it doesn't make Preview1, no problem!

    I think putting it in the Optional Features in your mockup seems fine. Suggest some wording changes:

    • Register Windows Event Logging Manifest
    • Enable PowerShell Core remoting

    cc Joey Aiello (@joeyaiello) for wording suggestions

  5. alexverboon commented on Jan 27, 2018

    @alexverboon

    From an Enterprise Management and Security point of view , I would like to see that the owerShell ETW manifest is registered by default. Is there a reason to not do so?

  6. SteveL-MSFT commented on Jan 30, 2018

    @SteveL-MSFT
    MemberAuthor

    Alex Verboon (@alexverboon) I believe the current design is that the ETW manifest is registered by default (option is checked).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions