Warning: If you set the directory or folder without specifying a subfolder to place the temporary files, the -tmpdir installer flag will delete everything inside the directory or folder.
The installation log files will always be placed into the temp/tmp directory. Besides the log files that are generated during the installation, product files are temporarily copied into the temp/tmp directory and are then copied over to the directory specified by the -tmpdir flag.
As such, even though the product files ultimately end up in the -tmpdir directory, they are temporarily placed into the temp/tmp directory. If your temp/tmp directory is too small, install on another computer and then copy the installation over to the initial computer.
This behavior is present for R2013b and below and will be fixed in R2014a.
Best Answer