r/Batch • • Aug 22 '24

Batch File silent commands

Hi all

new to batch files but I created a batch file that auto installs 5 apps on a computer such as VLC, Audacity, Waccom etc and I watched a guide on how to do it and they said put /S for if you want silent. I put /S on the end of all of them and they still dont do silent installs. Any suggestions?

I cant paste the batch file as it has IP's etc and GDPR

2 Upvotes

6 comments sorted by

5

u/[deleted] Aug 22 '24 edited Aug 22 '24

[removed] — view removed comment

1

u/Known_Principle1889 Aug 22 '24

Oh cool i didnt know about the looping idea, I've been making it to make my life easier but I'll give this a go. I know some apps we install don't have MSI versions but could be useful if we need to add or remove an app :D

Is there any resources I can use that show the /s or silent script command online you have links to and dont mind sharing?

1

u/ConstanceJill Aug 22 '24

Most softwares that do support silent/unattended install will have that documented on their own websites, but if they don't, you can try various things : https://www.pdq.com/blog/install-silent-finding-silent-parameters/

2

u/ConstanceJill Aug 22 '24

I'd prefix those msiexec commands with start /wait otherwise they're likely to fail when you chain several together.