Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Measurement Advisor Data Connector for Autosol Communication Manager

About the Setup​.ps1 Parameters

  • Last UpdatedAug 27, 2024
  • 2 minute read

DNADataRoot

The location of the DNADataRoot directory. The default is %SystemDrive%\AVEVA\DNA.

Important: The only time you can change the location of the DNADataRoot directory is when you first run the Setup.ps1 script. To change the location, you would issue the following command in PowerShell: Setup.ps1 -DNADataRoot <Location String>. It can be performed the first time the script is run to install the product. If you make an error, you can correct it by uninstalling and then manually adjusting the environment variables for the system.

DNAInstallRoot

The location of the DNAInstallRoot directory. The default is %SystemDrive%\Program Files\AVEVA\DNA.

Important: The only time you can change the location of the DNAInstallRoot directory is when you first run the Setup.ps1 script. To change the location, you would issue the following command in PowerShell: Setup.ps1 -DNAInstallRoot <Location String>. If you make an error, you can correct it by uninstalling and then manually adjusting the environment variables for the system.

Uninstall

Execute an uninstall of product components in a FeatureList. The parameter only runs in NonInteractive mode.

FeatureList

A parenthesized, comma-separated list of features (product components) for installation. This is useful when you have a specific list of product components you want to install on a server or servers.

SelectDowngrades

Running setup.ps1 -SelectDowngrades will automatically downgrade those product components on the media whose version numbers are lower than the version numbers of the corresponding product components installed on the system.

SelectUpgrades

Running setup.ps1 -SelectUpgrades will automatically upgrade those product components on the media whose version numbers are higher than the version numbers of the corresponding product components installed on the system.

NonInteractive

Use this parameter for the non-interactive execution of the install script.

ConfigureRemote

This parameter is used for a client on a computer or server with no AVEVA services installed. When invoked, the system runs the ConfigTool, but does not attempt to locate the OASySInfo.ini file.

ShowInstalled

The system detects and displays all product components installed in the DNAInstallRoot directory.

Examples of Setup.ps1 Settings

  • Interactive install session. Name the file.

    Setup.ps1

  • Interactive installation of the specified product component(s). List items in the FeatureList.

    Setup.ps1 -FeatureList "AVEVA Measurement Advisor Data Connector Service","AVEVA Measurement Advisor Data Connector Core", "AVEVA Measurement Advisor Data Connector Plugin for ACM"

  • Non-Interactive installation of the specified product component(s), along with the execution of the ConfigTool after installation of control room configuration. The -Force parameter will prevent any dependent product component(s) already installed as part of the base product from being either automatically upgraded or automatically downgraded by the installer.

    Setup.ps1 -FeatureList "AVEVA Measurement Advisor Data Connector Service" -NonInteractive -Force

  • Non-Interactive installation of the specified product component(s).

    Setup.ps1 -FeatureList "AVEVA Measurement Advisor Data Connector Service" -NonInteractive

  • Non-Interactive uninstallation of the product component(s) supplied in the FeatureList.

    Setup.ps1 -Uninstall -FeatureList "AVEVA Measurement Advisor Data Connector Service","AVEVA Measurement Advisor Data Connector Core", "AVEVA Measurement Advisor Data Connector Plugin for ACM" -NonInteractive

  • Detect and display all installed product component(s) at %DNAInstallRoot%.

    Setup.ps1 -ShowInstalled

  • Detect and upgrade all installed product component(s).

    Setup.ps1 -SelectUpgrades

TitleResults for “How to create a CRG?”Also Available in