The original installer will not work on 64-bit Windows. You must manually copy the files from the CD/ISO:
Since it is not on Steam or GOG, most players use community-vetted archives: need-for-speed-2-se-game-link
For a step-by-step visual guide on setting up the game with modern patches, check out this tutorial: The original installer will not work on 64-bit Windows
: A popular source for downloading the base game files legally classified as abandonware. 2. Essential Modern Fixes need-for-speed-2-se-game-link