What does the "/sms" in this script mean "setup.exe /s /sms /v /qn"?
When using this script to install MYOB 19.
Thanks
Answers (4)
/SMS means "don't report the command to install as complete until the installation is complete". Without it the installation command is executed and control is immediately released to the system which can be a problem if your script or deployment system (like Systems Management Server) wants to do things that follow the installation. It is a good idea to always include it.
"/sms" Instructs a silent setup not to release
the current session until the installation
is complete. Without this switch a silent
installation will immediately appear
complete and run in the background.
Use this switch to have any additional
installations or script actions wait for
installation to complete (such as in a
batch file). The parameter was
introduced to support MS Systems
Management Server which would
temporarily map a drive during
installation to access source files (where
it would immediately complete, and
SMS would unmap the drive to the
source files before the installation was complete.)
EX:
Setup.exe /s /SMS
Setup.exe /s /SMS /f1”c:\temp\my-answer-file.iss”
Setup.exe /s /SMS /f1”c:\temp\my-answer-file.iss” /f2”c:\temp\my-log-file.iss”
----/s
Run the setup silently using a previously
created ISS answer file (with the /r
parameter).
EX:
Setup.exe /s
Setup.exe /s /SMS
Setup.exe /s /f1”c:\temp\my-answer-file.iss”
Setup.exe /s /f1”c:\temp\my-answer-file.iss” /f2”c:\temp\my-log-file.iss”