Command line not working with delivered configuration file, execution not finding the right path

book

Article ID: 159104

calendar_today

Updated On:

Products

Software Management Solution

Issue/Introduction

The Command line didn't work with the delivered configuration file and the execution could not find the right path. For example: "C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\setup.exe" /uninstall PROPLUS /dll OSETUP.DLL /config ".\SilentUninstallConfig.xml"

Error that the config file could not be found.

Cause

The relative path was not directed to the cache folder, but used the command-line's declared path.

Resolution

Execution is relative. Instead of having to declare the full path to the cache folder, the easy thing is to download the package to an alternate location, and use the full path in the command-line. For example:
Download location: C:\package
Command line: "C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\setup.exe" /uninstall PROPLUS /dll OSETUP.DLL /config "C:\package\SilentUninstallConfig.xml"