Msiexec /i '%~dp0splunkforwarder-7.0.3-fa31da744b51-圆4-release.msi' LOGON_USERNAME=AD\xxxxxxxx LOGON_PASSWORD=yyyyyyyy Reg query 'HKLM\System\CurrentControlSet\Control\Session Manager\Environment' /v PROCESSOR_ARCHITECTURE | find /i 'x86' > NUL & set OS=32BIT || set OS=64BIT I am creating an application to install Splunk Universal Forwarder