Plugins setup folder not created
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OCS Inventory: Agent Deployment Tool |
Fix Released
|
Medium
|
Didier Liroulet |
Bug Description
Pay attention to the following log profile:
Host <192.168.2.92> Testing connection to remote host...
Host <192.168.2.92> Trying to connect to remote host...
Host <192.168.2.92> Trying to get remote "Program Files" and "ProgramData" directories using Registry...
Host <192.168.2.92> Using directory <C:\Program Files> for Program Files and <C:\ProgramData\OCS Inventory NG\Agent> for Program Data on remote host...
Host <192.168.2.92> Creating setup directory on remote host...
Host <192.168.2.92> Copying files on remote host on directory <\\192.
Host <192.168.2.92> *** ERROR *** Copying files on remote host: El sistema no puede encontrar la ruta especificada.
Checking the destination folder, the OCS-NG-
This behavior is repeated for several hosts.
In /DeployingDlg.cpp (revision 53):938
// Also create plugins folder
csTemp.Format( _T( "%s\\%s"), csDestDir, WIN_AGENT_
if (!directoryCreate( csDestDir))
...the argument for the directoryCreate call should be csTemp, not csDestDir. The Plugins folder never gets created, and the FileCopy in line 996 fails, triggering the ERROR_FILE_
Related branches
Changed in ocsinventory-deploy-tool: | |
status: | Fix Committed → Fix Released |
Hi
Thanks for the report.
It is fixed in rev 54 of code.
This will be included into deploy tool 2.1 final.
Regards