I havent downloaded bitrock yet, but looking at the website docs, you
can define postinstall actions to run scripts.  So isn't it possible
to simply run pg_restore from here?

2010/2/18 Lars Helge Øverland <larshe...@gmail.com>:
>
>
> 2010/2/18 Jason Pickering <jason.p.picker...@gmail.com>
>>
>> Hi Lars,
>> Right now, there are two versions. The IZPack installer uses the
>> native windows MSI. The user has to install this by themselves.
>> The MSI handles the creation of the Postgres user, and the
>> installation of the service. This should really be done as a silent
>> install, but I did not figure out how to do this quite yet.
>>
>> I started as well on the BitRock variant, which is also in that
>> branch. It will install the H2 DB by default. Knut has provided a lot
>> of examples of BitRock installers using Postgres, but I have not
>> looked at them yet.
>>
>> Ideally, we should just have a single installer, and BitRock
>> (especially since we got the license from them) seems to be great. I
>> have not really figured out yet though how to get it to install
>> Postgres, but I am sure it is possible.
>>
>> Basically, we need create a BitRock installer that installs postgres.
>> A batch file could then be used to load a sample DB. Knut has already
>> done this in some of the older installers he created, so it should be
>> pretty simple. I suppose this could also be done with IZpack, in a
>> similar manner. The problem is that we need to be able to control the
>> postgres user name and password, in order to populate the DB with the
>> sample database.
>>
>> As for the BitRock installer, we can simple package the sample DB
>> along with the installer, and ask the user if they want to install it
>> or not. If they do, it will get copied to the /database folder,
>> otherwise, we will leave it empty.
>>
>> Regards,
>> jason
>>
>>
>
> Tutorial for silent install of postgres windows installer:
> http://pginstaller.projects.postgresql.org/silent.html
> I am not sure if this is possible but could we do this similar to how we
> "install" H2? Set it up, include a database, compress it and when
> installing, simply decompress it?
>
>
>
> _______________________________________________
> 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

Reply via email to