Tell why it failed
Tell why it failed
- Subject: Tell why it failed
- From: Scott Grosch <email@hidden>
- Date: Thu, 06 Jun 2013 09:27:49 -0700
My installer depends heavily on a postinstall script to do most of the work. The "install" part of the package just copies some data in, but then in postinstall I turn on Postgres, create the user/db, configure a bunch of files, etc….
There are many ways it can fail though, and right now I just do an "exit 1" and then the installer says the installation failed.
How do I provide the user with a message as to exactly *why* it failed? For example, I'd like to be able to say, "Unable to connect to Postgres" so that they know to go check their configuration, for example.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden