Link to home
Start Free TrialLog in
Avatar of mcdermk
mcdermk

asked on

Bat file help

I have a bat file that installs 6 msi's and 1 exe.  I works perfectly until I deploy using SCCM.  SCCM thinks it has installed but nothing is installed.  I am trying to find a switch that will allow each msi to complete before moving onto the next.  Will "/wait" work for this?
Avatar of Lior Karasenti
Lior Karasenti

Yes, you can try adding the /wait parameter to the start command and it should work correctly.
Avatar of mcdermk

ASKER

Do you mean?

msiexec /i ActivInspire.msi /quiet /qn /wait
msiexec /i ActivInspireCoreRes.msi /quiet /qn /wait
msiexec /i ActivInspireHWRRes.msi /quiet /qn /wait
msiexec /i ActivInspireHelp.msi /quiet /qn /wait
msiexec /i install_flash_player_11_3_plugin.msi /quiet /qn /wait
"ActivDriver_x86 v5.9.16 setup.exe" /S /v/qn/
or
should the /wait be placed before or after /i?  Sorry I am really new at this.
ASKER CERTIFIED SOLUTION
Avatar of Lior Karasenti
Lior Karasenti

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mcdermk

ASKER

Thanks!  This worked great.