The Sims 2 Deluxe is a disc-based install, so the process is straightforward but a little old-fashioned.
Insert the disc and wait for the autoplay menu to appear, then launch the installer. Accept the licence, choose your directory, and work through the prompts. It will ask you to confirm several times; keep clicking next until it finishes, then close the readme when it opens and launch from the desktop icon.
You need the game disc in the drive every time you play. This trips up anyone who installs, shelves the case, and then wonders why the game refuses to start.
If the installer misbehaves, run it in compatibility mode and install to a path outside Program Files. Origin and Ultimate Collection copies avoid the disc check entirely, which is the simplest fix if you can find one.