Actually, you don't even need the msi, unless that is the only mode you have for installation. Can use the java package with a /s switch and then use the deployment.properties file with custom configs in the link below to disable many features for java.
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/j...