Adaption to *.install and *.portable