Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Bat file help

Posted on 2013-06-27
4
675 Views
Last Modified: 2013-06-28
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?
0
Comment
Question by:mcdermk
  • 2
  • 2
4 Comments
 
LVL 17

Expert Comment

by:Lior Karasenti
ID: 39281525
Yes, you can try adding the /wait parameter to the start command and it should work correctly.
0
 

Author Comment

by:mcdermk
ID: 39281636
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.
0
 
LVL 17

Accepted Solution

by:
Lior Karasenti earned 500 total points
ID: 39282114
No, as far as I can tell there's no /wait switch in msiexec.exe. You should do it like so:
start /wait msiexec /i ActivInspire.msi /quiet /qn 
start /wait msiexec /i ActivInspireCoreRes.msi /quiet /qn 
start /wait msiexec /i ActivInspireHWRRes.msi /quiet /qn 
start /wait msiexec /i ActivInspireHelp.msi /quiet /qn 
start /wait msiexec /i install_flash_player_11_3_plugin.msi /quiet /qn
"ActivDriver_x86 v5.9.16 setup.exe" /S /v

Open in new window

0
 

Author Closing Comment

by:mcdermk
ID: 39283889
Thanks!  This worked great.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You may have already been in the need to update a whole folder stucture using a script. Robocopy does it well and even provides a list of non-updated files in a log (if asked to). Generally those files that were locked by a user or a process by the …
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question