Hi
Please refer this script to download and install the application and if the application got installed successfully, a mail will be sent to the given email id.
Inputs:
URL: Give the direct download link of the software to be downloaded
sCMD: Give the silent installation command
AppName: Give the name of the application as in control panel
emailto : Give the receiver mail id
emailfrom :Give your/ sender mail addrees
Password : Password of sender mail address
Examples:
URL='http://download.piriform.com/ccsetup523.exe'
sCMD='/S'
AppName = "CCleaner"
emailto=['XXXX@gmail.com']
emailfrom='XXXXX@gmail.com'
password='YYYY'