Inside my Windows post-installation script I do cd ${installdir} but it is not working. Why is that?
If the installation directory is in a different drive that the one the installer file is you need to use: cd /s \${installdir}