Microsoft KB Archive/185804

= SMSINST: Adding to the System Path Using SMS Installer =

Article ID: 185804

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Systems Management Server 1.0 Standard Edition

-



This article was previously published under Q185804



SUMMARY
The Systems Management Server Installer has a script item called Add Directory To Path that allows you to add a directory to a system's path.

NOTE: This script item does not allow you to remove a directory from the system path.



MORE INFORMATION
To add a directory to the system path, use the following steps:


 * 1) Open Systems Management Server Installer and click Script Editor on the View menu.
 * 2) In the right pane, locate the position in your script where you want to include the Add Directory To Path script item. Highlight the script item that appears after that position.
 * 3) In the left pane, select the Add Directory To Path script item.
 * 4) When you are prompted, type the directory you want to add to the path.

Note that you can use Installer script variables. For example, if the Installer MAINDIR is set to "C:\My App" (without the quotation marks), you can enter %MAINDIR% in the dialog box, and the value "C:\My App" (without the quotation marks) will be added to the path.