Command line installation of Backup Exec with PowerShell 2.0 fails if quotes are used around arguments

Article:TECH212464  |  Created: 2013-11-13  |  Updated: 2014-06-23  |  Article URL http://www.symantec.com/docs/TECH212464
Article Type
Technical Solution

Product(s)

Subject

Issue



When installing Backup Exec using the command line with PowerShell 2.0, the switches may not parse correctly if you include quotes around the argument.


Error



The string sequence "/ is in the command and may cause the install to fail. Add a space between the switch and the opening quote for the path or upgrade to PowerShell 3.0 or greater and use the stop parsing symbol --%.


Cause



PowerShell 2.0 parses quotes and escape characters in the command line argument.


Solution



Do one of the following:

  • Upgrade to PowerShell 3.0 or later and add the parameter --% after typing setup. exe in the command line argument.

    For example: 

    --%/S:
  • If PowerShell 2.0 is not upgraded, add a space between the switch and the opening quote.

    For example:

    setup.exe /SLF: "\\FileShare\Path with spaces\filename.slf"

Supplemental Materials

SourceETrack
Value3230893


Article URL http://www.symantec.com/docs/TECH212464


Terms of use for this information are found in Legal Notices