start /wait sqlexpr.exe /qb INSTANCENAME=express ADDLOCAL=ALL

 

写成成.bat后,执行 安装 server=.\express   windows验证,用户名和密码都不用验证