Fix APPPATH constant for installer