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

(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:
###########################################
################################
Then i've created a package with this standard program:
cscript /nologo IDSP2018_x64_v1.vbs

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?
i have to deploy a package tha runs a *.lnk file to launch an exe

(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
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?