majkinetor / au-packages

Chocolatey packages by majkinetor
https://gist.github.com/majkinetor/a700c70b8847b29ebb1c918d47ee4eb1
GNU General Public License v2.0
66 stars 45 forks source link

(postgresql) install fails with complex password #154

Closed majkinetor closed 4 years ago

majkinetor commented 4 years ago

ERROR: Running ["C:\Users\Bluej\AppData\Local\Temp\chocolatey\postgresql12\12.3\postgresql-12.3-1-windows-x64.exe" --install_runtimes 0 --serverport 5432 --unattendedmodeui none --superpassword aREHS:k^jYeM=SBAc;uZ:fQS^OP4l$ --enable_acledit 1 --mode unattended ] was not successful. Exit code was '1'. See log for possible error messages.

majkinetor commented 4 years ago

It doesn't seem that postgre supports this on command line. One should change password after installation if this is desired and this is 1 line automation.