This is what the Netbeans-based installer is doing... Infact it is able to do that for Linux, Windows, Mac and Solaris from the beginning. It was able to detect mysql and jre's installations on the system, tomcat was not detectable, which could have been detected from the registry or services like MySQL... but it was too much effort and I lost interest in developing that further...
Anyways, what happens when postgres/mysql/tomcat is already installed and running?? The bitrock installer screwed a few things and I know ppl just uninstall it and all the data entered just goes... Possibly most important for an installer is to understand what's installed and not overwrite anything, which is why msi is so good for Windows. --- Regards, Saptarshi PURKAYASTHA Director R & D, HISP India Health Information Systems Programme My Tech Blog: http://sunnytalkstech.blogspot.com You Live by CHOICE, Not by CHANCE 2010/3/2 Jason Pickering <jason.p.picker...@gmail.com> > OK. A quick update. > > I managed to get DHIS+Postgres installed on a "clean" system, meaning > one without a Postgres user or previous install Postgres instance. > This is good, as this may be 90% of the cases we will encounter for a > first time install, but it is only part of the problem. > > On a system with the postgres user already there, I do not know how to > get the password in order to start the windows service, where the > password needs to be set when the service is installed. > > This is not a big deal if you can start the postgres DB from the > command line, but will users know to do this and-or can DHIS start it > if it is not started. So, it will install a new instance of postgres, > but, the service cannot be started, as the password is not correct. > Hmm..maybe there are some bright ideas out there. Perhaps we can set > it to the system account? > > So basically, I can release tomorrow for testing an installer that > will install on system without a postgres user. I tried to install > Postgres as a different user by creating a different user account, but > the installer did not manage to create it. Will need some more work > here. > > Let me know what you think. > > Regards, > Jason > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-devs > Post to : dhis2-devs@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-devs > More help : https://help.launchpad.net/ListHelp >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp