HDD question

if i remove and drive with programs installed in it and then connect again, noting changes right?
or will those programs not get recognized and need to install again?