-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.Windows 11 Support Center.
-
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.Windows 11 Support Center.
-
- HP Community
- Desktops
- Business PCs, Workstations and Point of Sale Systems
- HP Device Manager v4.7 SP11 Issue

Create an account on the HP Community to personalize your profile and ask a question
07-01-2019 01:53 AM
Hi,
We've recently upgraded HP Device Manager from v4.7 SP10 to SP11 to support ThinPro v7.1 but have an issue executing '_File and Registry' tasks since the upgrade.
For example we have a template to deploy Citrix Workspace client. A sub-task to deploy the installation file 'CitrixWorkspaceApp-18.10.0hp1d-ThinPro-6.1_6.1.1.xar' to /tmp works fine. The installation command "xarinstall /tmp/CitrixWorkspaceApp-18.10.0hp1d-ThinPro-6.1_6.1.1.xar" however fails with error code 14004022: Command line error when run.
The problem occurs with both ThinPro 5 and ThinPro 6 templates. These templates worked fine prior to the Service Pack upgrade.
Any ideas ?
Thanks
Solved! Go to Solution.
Accepted Solutions
07-05-2019 03:14 AM
Hi,
Can you please try use 'script' task instead of 'command' task?
Script task is more powerful and is about to capture the stdout by using echo
My opinions are my own, and do not express those of HPI.
**Click the White Thumbs Up Button on the right to say Thanks**
07-01-2019 08:52 AM - edited 07-01-2019 08:53 AM
Make sure you tell the script to start in the correct directory by doing:
"cd /tmp"
"xarinstall /tmp/CitrixWorkspaceApp-18.10.0hp1d-ThinPro-6.1_6.1.1.xar"
(remove the quotes)
Or try the newer version for ThinPro 7.1 located on the HP Update Center "CitrixWorkspaceApp-19.3.0hp1d-ThinPro-7.1".
07-02-2019 01:10 AM
Hi, thanks for the reply.
I've tried changing to the /tmp folder before running the xarinstall install command, same problem.
The issue is not with the update itself, I have the same problem with any update I try to install whether it is for Thinpro 5 or Thinpro 6, haven't tried Thinpro 7.1 yet.
Also, if I log into the TC as admin and run an X terminal command prompt, the update will install successfully using the 'xarinstall /tmp/CitrixWorkspaceApp-18.10.0hp1d-ThinPro-6.1_6.1.1.xar' command from the 'root@<hostname>:/#' default command line location so I know I'm installing the correct update for the ThinPro OS I'm trying to install the update on.
All other HP Device Manager operations, e.g. update agent tasks, imaging tasks, registry update tasks, changing root pw etc work successfully after installing the HPDM service pack update, the only issue I have is installing the updates.
I have the agent.log and child.log file from the TC if it helps and there is a way to upload the files
07-05-2019 03:14 AM
Hi,
Can you please try use 'script' task instead of 'command' task?
Script task is more powerful and is about to capture the stdout by using echo
My opinions are my own, and do not express those of HPI.
**Click the White Thumbs Up Button on the right to say Thanks**
07-05-2019 04:05 AM
Hi, thanks for the reply.
Not used the script option before, only deploy files and then command option.
Can you give me an example or can I use the same commands e.g.
cd /tmp
xarinstall /tmp/CitrixWorkspaceApp-18.10.0hp1d-ThinPro-6.1_6.1.1.xar
07-05-2019 07:21 AM
Sorry I don't have environment by side here, so not able to verify.
But to get the sample, you can try import template from HP Update Center through HPDM Console.
Filter ThinPro and choose any of the ICA add-ons listed there to generate a template.
I believe with that template, you should be able to understand how script works.
I will send you an example if you still can't figure it out by next Monday.
My opinions are my own, and do not express those of HPI.
**Click the White Thumbs Up Button on the right to say Thanks**
07-08-2019 02:56 AM
Hi,
Successfully installed updates using the 'script' sub-task.
Looks like there must have been a change in SP11 which affects the way the 'command' sub-task works.
What would you use the 'command' sub-task for ?
07-08-2019 03:04 AM
Script task will be the future - considering to support various types of languages.
Personally I don't use Command, it is there for those already created template.
My opinions are my own, and do not express those of HPI.
**Click the White Thumbs Up Button on the right to say Thanks**
Didn't find what you were looking for? Ask the community