MATLAB: Do I receive a “String index out of range” error when using the silent installer with MATLAB 7.1 (R14SP3)

MATLAB

I am using a installer.ini file to install MATLAB. This worked fine with R14SP2. Now I use the same file to install R14SP3. It causes the following error
An unknown error occurred while reading the input file. String index out of range: -1

Best Answer

This bug has been fixed in Release 2006a (R2006a). For previous product releases, read below for any possible workarounds:
This issue has been fixed in R2006a.
This error is caused by the following line in your installer.ini file
destination =
(without putting any value there because you want the user to chose this. This is allowed if your installer.ini file also contains the line wait=true)
This is a known bug. To work around, just enter a value. i.e.
destination = change_me!
The installer will now try to find the location change_me! It will produce a message box to the user, asking to put a valid directory.