How to install dmprimer in a specific directory during deployment wizard ?
search cancel

How to install dmprimer in a specific directory during deployment wizard ?

book

Article ID: 279587

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

During deployment wizard dmprimer is installed under directory C:\Program Files (x86)\CA\DSM\DMPrimer
 
Then during deployment process the creation of empty file C:\Program Files (x86)\TestFile.txt is done.
But in some environment creation of file directly to C:\Program Files (x86) is not permitted and installation could not be done.
 
Example in c:\windows\temp\dmprimer.log :
02/06/24 13:52:05  | 3032 | 9564 | createdir.h  | 133   | Attempting to create temp file: C:\Program Files (x86)\TestFile.txt
02/06/24 13:52:05  | 3032 | 9564 | createdir.h  | 165   | Failed to create temp file for writing: C:\Program Files (x86)\TestFile.txt

 

A solution if to install dmprimer to another directory. But how to change the default installation path for dmprimer ?

Environment

Client Automation - All versions

Resolution

- In deployment wizard in step 7, click on "Show Advanced Options" and enter DMPRIMER=<path_for_dmprimer>

Example :

DMPRIMER=C:\DMPRIMER

- On target machine dmprimer will be installed under c:\dmprimer :

 
 
Other components (ITCM Agent, CAM etc...) are installed under default directory C:\Program Files (x86)\CA :
 
 
 
And in c:\windows\temp\dmprimer.log we could see that testfile.txt is created under c:\dmprimer :
 
02/21/24 15:46:18  |      11220 |       8056 | createdir.h                | 57    | Reformatted dir to create: C:\DMPRIMER\
02/21/24 15:46:18  |      11220 |       8056 | createdir.h                | 81    | Attempting to create folder: C:\DMPRIMER
02/21/24 15:46:18  |      11220 |       8056 | createdir.h                | 125   | Folder exists: C:\DMPRIMER
02/21/24 15:46:18  |      11220 |       8056 | createdir.h                | 133   | Attempting to create temp file: C:\DMPRIMER\TestFile.txt
02/21/24 15:46:18  |      11220 |       8056 | createdir.h                | 172   | Successfully created temp file: C:\DMPRIMER\TestFile.txt
02/21/24 15:46:18  |      11220 |       8056 | createdir.h                | 216   | Path exists and is a folder: C:\DMPRIMER\TestFile.txt