/build/static/layout/Breadcrumb_cap_w.png

vbscript to show a message after restarting the machine

Hi..

I am installing an msi through vbs..if the installation is successful, machine will be rebooted...After the reboot, I have to show a message box, that the msi installation was successful....how we can set that in the vbs..?
Do we have to set this through SCCM or it can be achieved through script itself...

please guide..

regards
Anphi

0 Comments   [ + ] Show comments

Answers (2)

Posted by: anonymous_9363 13 years ago
Red Belt
0
Use the WindowsInstaller.Installer object's .ProductState property to detect the installation state. IIRC, '5' means it's installed.
Posted by: anphi 13 years ago
Orange Belt
0
Thank you very much VBScab...We were able to achive it ..
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ