I have problem installing multiple msi files form cmd file

I have adobe.cmd that looks like this

adobedc.exe /sAll
adobeair.exe -silent
msiexec -i install_flash_player_25_plugin.msi /qn /norestart
msiexec -i install_flash_player_25_ppapi.msi /qn /norestart
msiexec -i sw_lic_ful_installer.msi /qn /norestart

Adobe reader dc and adobe air insalls, but msi files dont installs

I also tried adding

cmd /c msiexec -i install_flash_player_25_plugin.msi /qn /norestart

Also had no effect

Can anyone help me what i doing wrong?

  • I believe msiexec requires administrative privileges to work correctly. Do you rightclick your cmd file and choose: Run as Administrator? – LPChip May 17 '17 at 18:49
  • Your using the wrong arguments.../quiet – Ramhound May 17 '17 at 18:52
  • yes, i am using administrator privileges, and when i manually enter same command, program is installed, but when i start cmd file its skips last 3 commnads – Bogdan Prascevic May 17 '17 at 18:53
  • @Ramhound the q argument allows for more granular UI control, and n means no UI. /quiet may still show UI, it just doesn't require any interaction, while /qn means nothing visibly occurs on the screen while the installation is running. – music2myear May 17 '17 at 19:01
  • Try using the full path to msiexec.exe or using "Start msiexe.exe" or something similar. – music2myear May 17 '17 at 19:02

I found solution.

Definitely problem with msi and cmd.

Found workaround with for loop

for /f %%a in ('dir adobe\*.msi /b') do (
msiexec /i adobe\%%a ALLUSERS=1 /qn /norestart /log %SystemDrive%\install.log
if not "%errorlevel%"=="0" exit /b %errorlevel%

within folder adobe all msi installations are installed

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.