Solution:
To generate a respone file please run:installdsm -g ming.rsp
Use this response file to do the unattended install using the command:installdsm -r ming.rsp
Note: In the above example, "ming.rsp" is the name of the response file.