Closed xamele0n closed 6 years ago
When service password contains special characrers (starts with ',' in my case) it breaks service installation
CMD: $env:DT_DISABLEINITIALLOGGING='true' 2017-12-27T12:06:11.7305005Z $env:DT_LOGLEVELCON='NONE' 2017-12-27T12:06:11.7305005Z & "c:\Hub\JobAgent\Ekassir.PersonalCabinet.JobAgent2.exe" uninstall -username:user -password:**** -servicename:testjob -description "DBP Job Agent" 2017-12-27T12:06:11.7315006Z & "c:\Hub\JobAgent\Ekassir.PersonalCabinet.JobAgent2.exe" install -username:user -password:**** -servicename:testjob -description "DBP Job Agent" --autostart 2017-12-27T12:06:22.2035477Z ##[debug]Status : Failed 2017-12-27T12:06:22.2035477Z ##[debug]DeploymentLog : 2017-12-27T12:06:22.2055479Z ##[debug] Deployment started on target machine... 2017-12-27T12:06:22.2065480Z ##[debug] 2017-12-27T12:06:22.2075481Z ##[debug] System.AggregateException: Failed to execute the powershell script. Consult the logs below for details of the error. 2017-12-27T12:06:22.2085482Z ##[debug] At line:3 char:105 2017-12-27T12:06:22.2095483Z ##[debug] + ... ovVA -password:**** -servicename:testjob -description "DBP Job Agent" 2017-12-27T12:06:22.2105484Z ##[debug] + ~ 2017-12-27T12:06:22.2115485Z ##[debug] Missing argument in parameter list. 2017-12-27T12:06:22.2125486Z ##[debug] 2017-12-27T12:06:22.2135487Z ##[debug] At line:4 char:103 2017-12-27T12:06:22.2145488Z ##[debug] + ... ovVA -password:**** -servicename:testjob -description "DBP Job Agent" --aut ... 2017-12-27T12:06:22.2155489Z ##[debug] + ~ 2017-12-27T12:06:22.2165490Z ##[debug] Missing argument in parameter list.
This has been fixed as of version 7.
When service password contains special characrers (starts with ',' in my case) it breaks service installation