[ERROR] InstallEXEFile : Failed to set the CurrentDirectory
Hello,
I am getting an error when trying to deploy software from a network share. The share has the "Everyone" permission, so the agents can Read, Execute and list files in the directory/share.
I have also verified (using Start->Run) that the command line arguments I entered in to the Configuration can be successfully executed from a machine running the desktop central agent. What have I missed?
The error occurs when the agent attempts to ChangeDirectory, this error causes the installation to fail.
Please find the log entry below:
========================
[ 2011-11-17 10:00:50:437 ] [ 2640 ] [INFO] @@@@@@@@ Inside ProcessInstallSoftwareConfig Method @@@@@@@@
[ 2011-11-17 10:00:50:437 ] [ 2640 ] [INFO] ProcessInstallSoftwareConfig : Number of Softwares Configured : 1
[ 2011-11-17 10:00:50:437 ] [ 2640 ] [INFO] AgentSendRequest : The url to get / send in UTF8 format is given by /client-data/1/swpackage/swpackage-settings.xml
[ 2011-11-17 10:00:50:437 ] [ 2640 ] [INFO] InternetGetRequestEx : DesktopCentral Server & Port -> DCServer : 8020
[ 2011-11-17 10:00:50:437 ] [ 2640 ] [INFO] InternetGetRequestEx : Content Length of the request file: 222 Bytes
[ 2011-11-17 10:00:50:437 ] [ 2640 ] [INFO] Bytes read reached the contenlength
[ 2011-11-17 10:00:50:437 ] [ 2640 ] [INFO] InternetGetRequestEx: Total bytes readed = 222
[ 2011-11-17 10:00:50:500 ] [ 2640 ] [INFO] AgentSendRequest : Last Access Address is DCServer
[ 2011-11-17 10:00:50:500 ] [ 2640 ] [INFO] UpdateConfigDataStatus : The Required SubKey is given by Software\AdventNet\DesktopCentral\DCAgent\CollectionHistory\912
[ 2011-11-17 10:00:50:500 ] [ 2640 ] [INFO] Bytes Sent = 6153
[ 2011-11-17 10:00:50:500 ] [ 2640 ] [INFO] Bytes Sent = 6153
[ 2011-11-17 10:00:50:500 ] [ 2640 ] [INFO] ProcessInstallSoftwareConfig : Criteria applied on SWPackagePath -> package_id=607
[ 2011-11-17 10:00:50:500 ] [ 2640 ] [INFO] AgentSendRequest : The url to get / send in UTF8 format is given by /client-data/1/swpackage/sw607.xml
[ 2011-11-17 10:00:50:500 ] [ 2640 ] [INFO] InternetGetRequestEx : DesktopCentral Server & Port -> DCServer : 8020
[ 2011-11-17 10:00:50:500 ] [ 2640 ] [INFO] InternetGetRequestEx : Content Length of the request file: 1444 Bytes
[ 2011-11-17 10:00:50:500 ] [ 2640 ] [INFO] Bytes read reached the contenlength
[ 2011-11-17 10:00:50:500 ] [ 2640 ] [INFO] InternetGetRequestEx: Total bytes readed = 1444
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] AgentSendRequest : Last Access Address is DCServer
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] Parser: String returned after parsing: \\DCServer\Repository\VisualStudio\2010
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] Parser: String returned after parsing: \\DCServer\Repository\VisualStudio\2010
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] ProcessInstallSoftwareConfig : The time out value used in software installation is 2 hour !!!
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] Parser: String returned after parsing:
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] Parser: String returned after parsing: \\DCServer\Repository\VisualStudio\2010\setup.exe /unattendfile \\DCServer\Repository\VisualStudio\vs2010-unattended-install-for-xp.ini
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] Parser: String returned after parsing:
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] ############################################################################
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] Package Name :Visual Studio 2010 (XP)
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] Root Path :\\DCServer\Repository\VisualStudio\2010
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] Package XML Path :\client-data\1\swpackage\sw607.xml
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] User Name :--
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] Package Type :2
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] Operation :1
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] Package Path :\\DCServer\Repository\VisualStudio\2010
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] Package Timeout Value :7200
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] Installation Command Line Params :\\DCServer\Repository\VisualStudio\2010\setup.exe /unattendfile \\DCServer\Repository\VisualStudio\vs2010-unattended-install-for-xp.ini
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] Uninstallation Command Line Params :
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] MST file name :
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] Software repoistory path :\\DCServer\Repository\
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] Software repoistory is locked by :(null)
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] ############################################################################
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] InstallSoftware : Going to perform the install action for the software Visual Studio 2010 (XP)
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] InstallGivenFile : Copy option is not enabled, hence proceeding the installation action with the network file path.
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] ########################################## INSTALLATION ###################################################
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] InstallGivenPackage : Going to perform the Installation action for the given Package.
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] Bytes Sent = 6153
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] InstallEXEFile : Working Directory path -> \\DCServer\Repository\VisualStudio\2010.
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] InstallEXEFile : Root path -> (null).
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] InstallEXEFile : Cmd Line Params -> \\DCServer\Repository\VisualStudio\2010\setup.exe /unattendfile \\DCServer\Repository\VisualStudio\vs2010-unattended-install-for-xp.ini.
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] InstallEXEFile : TimeOut Value -> 7200 seconds
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] InstallEXEFile : Set the Current Directory called with -> \\DCServer\Repository\VisualStudio\2010.
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [ERROR] InstallEXEFile : Failed to set the CurrentDirectory
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] Bytes Sent = 6153
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [ERROR] InstallGivenPackage : Error while performing Installation function.
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] *************************************************************************************************************
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [ERROR] ProcessInstallSoftwareConfig : Failed to install the package Visual Studio 2010 (XP)
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] GetRetryStatusData : ExecutedRetryCount Can't read
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] GetRetryStatusData : TotalFailureRetryCount read sucess
[ 2011-11-17 10:00:50:515 ] [ 2640 ] [INFO] SendConfigStatusUpdateEx : Data to Send to Server ->
New to ADSelfService Plus?