modified lots of stuff and installer is finally working.