red888
red888

Reputation: 31724

Does Chocolatey support post-install commands?

When writing my own choco packages, how can I have them execute command immediately after the software is installed? I don't want to pass these commands to the installer, but want them to run after the installer completes.

Upvotes: 2

Views: 1363

Answers (1)

ferventcoder
ferventcoder

Reputation: 12621

chocolateyInstall.ps1 is just a PowerShell script, so you have maximum flexibility. You can do things prior and after the installation.

Upvotes: 3

Related Questions