how to mark a port as installed