I am creating an RPM installer for centos 6.5, After installation i want the RPM to invoke the browser and show the installation report.
This installation report shows the details of how the installation went. Including errors and warnings that occurred while installation, goal is to clearly explain the user how the installation went.
I can easily double-click on the .rpm file and see the installation happening through the centos GNOME. But i don't see the successful installation message on the screen after the installation is done.
Can RPM invoke the browser post its installation ? Does rpm have the control of doing the same when the installation is happening through GUI - GNOME. I have tried several blogs related to linux, rpm but haven't got lucky yet.
Thanks in advance!
You may not have a browser installed.
You may not have X installed at all (unless your software requires it).
The user may be using ssh and not at a display.
Etc.
You cannot expect this to reliably work.
You can output to standard output which non-automatic processes will allow the user to see (if you can't when you double-click then that is because the handler is a terminal and it is exiting immediately when finished but you can change that, or install it via command manually).
You can also write an installation report output file that documentation instructs customers to look at.