?
Solved

SMS script

Posted on 2009-04-21
1
Medium Priority
?
265 Views
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.

Thanks.
0
Comment
Question by:Habib Z
1 Comment
 
LVL 31

Accepted Solution

by:
merowinger earned 2000 total points
ID: 24202129
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

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is pretty cool.  The purpose of this VB Script is to help you document where JAR (Java ARchive) files and specifically java class files are located so that you can address issues seen with a client or that you can speak intelligently with a dev…
This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

829 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