Import Software Packages (exported earlier) into the Software Package Library
search cancel

Import Software Packages (exported earlier) into the Software Package Library

book

Article ID: 56469

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

How do I import software packages (exported earlier) in the Software Package Library?

I use the following command line to export software packages:

cadsmcmd swlibrary action=export item="Software Package Name" version="version info" path="Path for the export"

However, I can't find an import command to import the software package on another Domain Manager. How can I import the package using the command line?

Environment

Client Automation - All Supported versions.

Resolution

The command to import/register a software package is:

cadsmcmd aregsw reginfo="Path the reginfo folder" path="Path to package"

Ex: cadsmcmd aregsw reginfo="C:\Packages\ABC\reginfo" path="C:\Packages\ABC"

If you would like the imported package to be linked to a software group after the import use the command:

cadsmcmd swlibrary action=addItemToSWG name=software_group_name item=item_name version=item_version

Ex: cadsmcmd swlibrary action=addItemToSWG name=GroupABC item="ABC" version="1.0"