Apps on portable hard drive

I’ve got a 160gb portable hard drive, If i install a program (eg dreamweaver) on this can I then connect it too my computer at work and run dreamweaver off it?

Or will it cause problems? If so is there anyway to solve them?