SMS script

Posted on 2009-04-21
Last Modified: 2013-11-21
Hello there,

I wonder if some one can help me I have an application using
Setup.exe /s /f1"\\networkshare\software\\answerfile.iss" that I want to deploy to few computers on the LAN using SMS. There are about 4 distribution points that this package will be replicated first before advertising it to the collection.

However I want a script that will start once the installation is done successfully and will give a message prompt "installation completed" to the end user when it is done I am looking for a way to do that. Also when I am advertising I will advertise the vbs script.  

I also want to know how the script will be pointing to the program and how it is going to behave under the sms environment.  

It will be easier if it can be a script that will be compiled to exe. I am only interested in a vbs script.

Question by:Zak
    1 Comment
    LVL 31

    Accepted Solution

    You write a script, copy i to the same folder as the setup.exe and start the script with your program in SMS.
    dim objShell : set objShell = CreateObject("Wscript.Shell")
    objShell.Run "Setup.exe /s /f1" &chr(34) &"\\networkshare\software\\answerfile.iss" &chr(34),1,true
    Wscript.echo "installation completed"

    Open in new window


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    My previous article  ( one possible method to get SCCM 2007 installed an…
    Know what services you can and cannot, should and should not combine on your server.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now