Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

PENDING Deploy a vbs script and create a progress bar until the setup was finished

micdam

Well-Known Member
Messages
99
Reaction score
1
Points
8
Goodmorning,

i have to deploy a package tha runs a *.lnk file to launch an exe

clip_image001.png

upload_2017-6-27_17-21-23.png

(i.e.

xxx2018.lnk
destination property is
\\SCCM_SERVER\AA\Setup.exe /qb /I \\SCCM_SERVER\AA\file.ini /Trial /language it-it


from property is
SCCM_SERVER\AA\Img

)


i've created a vbs script named IDSP2018_x64_v1.vbs like this:
###########################################
Code:
Dim WshShell, strCurDir
Set WshShell = CreateObject("WScript.Shell")
strCurDir    = WshShell.CurrentDirectory
WshShell.Run strCurDir & "\xx2018.lnk", 0
Set WshShell = Nothing

################################


Then i've created a package with this standard program:
cscript /nologo IDSP2018_x64_v1.vbs

upload_2017-6-27_17-20-36.png


It works fine but i'm not able to know when the setupexe (\SCCM_SERVER\AA\Setup.exe /qb /I \\SCCM_SERVER\AA\file.ini /Trial /language it-it) finished because the Software Center console display when the vbs script ends.

Haw can i do to monitor when the setup.exe process ends?


 

Attachments

  • upload_2017-6-27_17-12-51.png
    upload_2017-6-27_17-12-51.png
    4.9 KB · Views: 5
I just deployed a vbscript to a collection in a similar way (mine is to uninstall office). On the client I open the execmgr.log file(Windows\CCM\LOGS), I can see what its doing. The SCCM console never seems to give you great progress updates, I'm really hoping they add a progress bar similar to the DP Job Queue Manager.
 
Last edited:
I just deployed a vbscript to a collection in a similar way (mine is to uninstall office). On the client I open the execmgr.log file(Windows\CCM\LOGS), I can see what its doing. The SCCM console never seems to give you great progress updates, I'm really hoping they add a progress bar similar to the DP Job Queue Manager.
I would suggest you suggest an idea in the configuration manager feedback. I also see some ideas posted related to progress bar
 
Back
Top