Then I went to windows registry and found out the my first installation of postgresql left some registries for it even though I uninstalled it from the control panel also it left the postgres user on the machine. I start to test everything from users, to user permissions, folder permissions, length of folder names. The installation directory must be an absolute path, containing only letters, numbers and the characters '-', '/', '.' and '_', and must be writable. Then problem appears when I run my installer and the same error shows: I was creating an installer for my software with NSIS and it uses the postgresql database, in order to use the postgresql silent install I previously installed it on the target machine to test which parameters I should use, after tested it successfully I then uninstalled it so it could be installed by my software. The Bitrock installer only provides the above error with no path detail or anything to act on.Īctually I've found out the problem. serverport 5432 -superpassword "XXXX" -servicepassword "XXXX" -unattendedmodeui minimal -mode unattended -debuglevel 0 -serviceaccount "postgres" -create_shortcuts 0 "C:\postgres\data" -enable_acledit 1 -install_runtimes 0 Postgresql-9.4.4-1-windows-圆4.exe -prefix "C:\postgres" -datadir Letters, numbers and the characters '-', '/', '.' and '_', and must be The installation directory must be an absolute path, containing only The new version breaks and gives me a very general error that I can't use to pinpoint the issue. The old version was able to install over a existing installation. The old version on of the DB used to be an MSI installer but they have switched to a Windows EXE with the later version. It used to install postgresql 8.3 but we want to upgrade the DB to 9.4.4. I am trying to upgrade an installer created with NSIS that installs postgresql.
0 Comments
Leave a Reply. |