Have you tried:

INSTALLDIR=C:\Progra~1\Folder

Windows provides some backward compatibility to older systems where filenames were restricted to 8 characters.