troubleshooting Question

how to write batch script and VBscript for Install and uninstall an MSI. if /x then uninstall. If /silent  then silent install

Avatar of snehal jadhav
snehal jadhav asked on
Windows BatchVB Script
4 Comments2 Solutions367 ViewsLast Modified:
suppose eg arg.bat or arg.vbs run on cmd output is installed
   and we can pass the argument
     >arg.bat  /x
      olp : will be uninstallled the msi.
    >arg.bat /silent
    o/p:will  be installed the msi.

 >arg.vbs  /x
      olp : will be uninstallled the msi.
    >arg.vbs  /silent
    o/p:will  be installed the msi.
ASKER CERTIFIED SOLUTION
NVIT
End-user support

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros