Web based, downloads SQL Express from website then installs.
DetailPrint "Pausing installation while downloaded SQL Express installer runs."
ExecWait '$TEMP\\SQLinstaller.exe /qb sapwd=password disablenetworkprotocols=0 securitymode=SQL INSTANCENAME=MSSQLSERVER ADDLOCAL=SQL_Engine' All-in-one file, extracts SQL Express then installs. DetailPrint "Pausing installation while downloaded SQL Express installer runs."
ExecWait '$PROGRAMFILES\\MyAppGroup\\SupportFiles\\SQLinstaller.exe /qb sapwd=password disablenetworkprotocols=0 securitymode=SQL INSTANCENAME=MSSQLSERVER ADDLOCAL=SQL_Engine' CD Based install, installs SQL Express from CD folder DetailPrint "Pausing installation while downloaded SQL Express installer runs."
ExecWait 'prerequisites\\SQLinstaller.exe /qb sapwd=password disablenetworkprotocols=0 securitymode=SQL INSTANCENAME=MSSQLSERVER ADDLOCAL=SQL_Engine' The first two run the SQL Express installer without requiring any input.
For some reason, the CD Installer runs the SQL Express installer but the arguments are ignored.
I can not find any difference in the three sections besides the path to the file. Will the arguments be ignored because I call the application using a relative path? (the other two examples use a fixed path)