There are six versions of Vista - Ultimate, Enterprise, Business, Home Premium, Home Basic and Starter. Provided that the disc you have is the same version as the one presently installed you should have no problem in using it with the license key on the tower case. You may have to re-activate it with Microsoft after installation and sometimes they may give you a phone number to call if activation is a problem, but I have never had any problem if I have to do so. Just have a pen and paper ready when they give out the registration numbers over the phone.
The Legend of Zelda Breath of the Wild review: Five hours with Zelda on the Nintendo Switch