Link to home
Start Free TrialLog in
Avatar of meet sidhu
meet sidhu

asked on

vbscript to installing all steps of softwares automatically

This code runs properly and open the sofware which we have to install but all the steps like next ,next, finish i have to done manually.how we automatic perform all the steps with coding.please help me
Set WSHShell = WScript.CreateObject("WScript.Shell")
WSHShell.Run """C:\Users\admin\Desktop\Software\latest vlc-1.1.5-win32.exe"""
Avatar of Shaun Vermaak
Shaun Vermaak
Flag of Australia image

Just add parameter for a silent/unattended install
Set WSHShell = WScript.CreateObject("WScript.Shell")
WSHShell.Run """C:\Users\admin\Desktop\Software\latest vlc-1.1.5-win32.exe /s""" 

Open in new window

Avatar of meet sidhu
meet sidhu

ASKER

this shows an error message the system cannot find the file specified.
Set WSHShell = WScript.CreateObject("WScript.Shell")
WSHShell.Run """C:\Users\admin\Desktop\Software\latest vlc-1.1.5-win32.exe"" /s" 

Open in new window

this shows unterminated string constant message
this can run properly.but donot solve my problem. this shows windows where i have to click next next option and then finish option to install. i want all this work done by coding
ASKER CERTIFIED SOLUTION
Avatar of Shaun Vermaak
Shaun Vermaak
Flag of Australia image

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
THANK YOU SO MUCH. YOUR CODE SOLVE MY PROBLEM.