Install and Uninstall Components (VI)
- Updated2023-02-21
- 5 minute(s) read
Use the Install and Uninstall Components VI to install components, uninstall components, or both install and uninstall components simultaneously (as long as two components do not overlap each other).
This VI installs components you specify in the Software Components to Install parameter, as well as any required hidden components. If Auto-select Dependencies is TRUE, this VI also installs other visible components if they are dependencies of any component you specified to install in the Software Components to Install parameter and they are not already installed on the system. This VI only uninstalls visible components that are specified in the Software IDs to Uninstall parameter.

![]() |
Restart Automatically restarts the system into install mode by default before the operation is performed, and restarts back to a running state after the operation is complete. If you choose not to restart automatically, the operation will fail if the system is not already in install mode. |
||||||||||||||||||||||||
![]() |
Session in specifies the IP address or hostname of the system on which to perform this operation. When left blank, this VI operates on the local system. |
||||||||||||||||||||||||
![]() |
Software Components to Install specifies software to install.
|
||||||||||||||||||||||||
![]() |
Software IDs to Uninstall specifies identifiers of software components to remove. |
||||||||||||||||||||||||
![]() |
error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality. |
||||||||||||||||||||||||
![]() |
Install Options specifies options that affect which versions of components and whether additional components get installed.
|
||||||||||||||||||||||||
![]() |
Session out returns the refnum for the system. |
||||||||||||||||||||||||
![]() |
Broken Dependencies returns a list of broken dependencies, which are specific software components that cannot operate without another software component installed. This array will be empty when an installation succeeds.
|
||||||||||||||||||||||||
![]() |
error out returns error information. This output provides standard error out functionality. |














