SHARE
Facebook X Pinterest WhatsApp

SMS Installer Include Script Command

Jul 20, 2010
ServerWatch content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More




by Dana Daugherty

Do you have a piece of SMS Installer code
that you use repeatedly within the same script or within
multiple scripts? Why not use the include script command to
avoid redundant programming?

Do you have a piece
of SMS Installer code that you use repeatedly within the same
script or within multiple scripts? Why not use the include script
command to avoid redundant programming?

The include script command allows you to
call a .ipf script file from any location. The .ipf will be
compiled when the primary script is compiled.

Here’s an
example:

Primary Script: Visio2002.ipf. It is
a wrapper that calls the Visio 2002 MSI package. Distributing
any MSI packages with SMS the client must have a drive mapped
to directory located on the
SMSPkg$ share or run it from the
directory using a UNC path. Otherwise it may
fail (see Figure 1).

 

 

Secondary Script: Uncpath.ipf. It
provides the SMS Installer code to read the assigned site code
from the registry of the client and then run the MSI
installation from the SMS package share the local site (see
Figure 2). 

 

Recommended for you...

What Is a Container? Understanding Containerization
What Is a Print Server? | How It Works and What It Does
Nisar Ahmad
Dec 8, 2023
What Is a Network Policy Server (NPS)? | Essential Guide
Virtual Servers vs. Physical Servers: Comparison and Use Cases
Ray Fernandez
Nov 14, 2023
ServerWatch Logo

ServerWatch is a top resource on servers. Explore the latest news, reviews and guides for server administrators now.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.