adapted install4j script to BEAM 5 - ctd.