这是indexloc提供的服务,不要输入任何密码
Skip to content

Ability to send option flags to post-install script #882

@mrclary

Description

@mrclary

Checklist

  • I added a descriptive title
  • I searched open requests and couldn't find a duplicate

What is the idea?

@jaimergp,
Is there a way for the post-install script to determine whether the installer is running in silent (.exe with /S) or batch (.sh with -b) mode?

Otherwise, is it possible to implement a feature in which command-line arguments provided to the installer (.exe, .sh or .pkg) are passed to the post-install script?

Why is this needed?

For our Spyder installer, the post-install script is designed to launch Spyder automatically upon completing the install. It is desirable to forego this behavior if the Spyder installer is executed from the command-line in either batch or silent mode.

The ability to pass command-line arguments to the post-install script could provide more flexibility for developers that use the post-install script.

What should happen?

No response

Additional Context

spyder-ide/spyder#22730

Metadata

Metadata

Assignees

No one assigned

    Labels

    locked[bot] locked due to inactivitytype::featurerequest for a new feature or capability

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions