/build/static/layout/Breadcrumb_cap_w.png

Deploying with batch file

My previous job is with packaging and distribution using Marimba. Now I am working with SMS.

In SMS how do you deploy softwares using batch files.

For example my SMS server name is "LTLSMS" and I need to deploy "setup.exe" with parameter "/quiet". Then my setup.exe is located in the D: drive of my SMS server.

0 Comments   [ + ] Show comments

Answers (3)

Posted by: Drye 17 years ago
Senior Yellow Belt
0
In SMS when you create a package and program there is a blank for specifying the commandline action. You merely specify "setup.exe /q"
Posted by: amonpogi 17 years ago
Senior Yellow Belt
0
Thanks Drye. It worked for one of my test pc (which is a VM) but it failed to another pc.
I got the error:

An error occurred whitl preparing to run the program for advertisement "IIC2065D" ("IIC001C7" - "Install"). Additional program properties:
Command line:"setup.exe /quiet"
Working Directory:
Drive letter (?=any):
Possible cause: This messagae most commonly occurs when the program's command-line executable file could not be found, when a requried drive letter connection to a distributin point could not be established, or when the program is configured to use the SMS Software Installation Account but the account is not specified, coud not be found, or does not have the approprieate permissions.
Solution: check each of the times listed above. This program will be retried.
Posted by: mlewis 16 years ago
Yellow Belt
0
when you create your advertisement, be sure to choose the option that downloads the package to the remote computer. when batch files run they are run from the command line and they need to be run from the computer that it is getting deployed to
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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