Client Automation - OSconfig.XML not update during upgrade

book

Article ID: 141144

calendar_today

Updated On:

Products

CA Client Automation - Asset Management CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Software Delivery CA Client Automation - Remote Control CA Client Automation - Desktop Migration Manager

Issue/Introduction

After an upgrade the file C:\Program Files (x86)\CA\DSM\Agent\OSConfig.xml is not updated.

Cause

A fix including the file OSConfig.xml has been applied before upgrade.

OSConfig.xml file is not updated because its "creation date" is different than "Modified Date".

MSI detects this file as an updated file and does not overwrite it.

 

Environment

Release : 14

Component : Client Automation

 

Resolution

Execute following command prior the upgrade to SP3 :

powershell.exe -ExecutionPolicy ByPass -Command "$(Get-Item 'C:\Program Files (x86)\CA\DSM\Agent\OSConfig.xml').creationtime=$(Get-Item 'C:\Program Files (x86)\CA\DSM\Agent\OSConfig.xml').lastwritetime"

 

This command sets the creationtime of file C:\Program Files (x86)\CA\DSM\Agent\OSConfig.xml same as lastwritetime.


And then new file OSConfig.xml will be copied during upgrade.