install to temp path and copy to the directory you specified, to avoid meeting peer problems