cancel
Showing results for 
Search instead for 
Did you mean: 
readwrite63
Level 3
40 23 2 3
Message 1 of 8
1,187
Flag Post

Solved!

HP Device Manager v4.7 SP11 Issue

HP Recommended
HP Device Manage
Microsoft Windows Server 2012 and older

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

 

1 ACCEPTED SOLUTION

Accepted Solutions
Chen_HPDM
Level 7
Level 7
504 502 51 84
Message 4 of 8
Flag Post
HP Recommended

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

I am an HPI Employee.
My opinions are my own, and do not express those of HPI.
**Click the White Thumbs Up Button on the right to say Thanks**

View solution in original post

Was this reply helpful? Yes No
7 REPLIES 7
Zack52
New member
3 2 0 0
Message 2 of 8
Flag Post
HP Recommended

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".

Was this reply helpful? Yes No
readwrite63
Author
Level 3
40 23 2 3
Message 3 of 8
Flag Post
HP Recommended

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

 

 

Was this reply helpful? Yes No
Chen_HPDM
Level 7
Level 7
504 502 51 84
Message 4 of 8
Flag Post
HP Recommended

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

I am an HPI Employee.
My opinions are my own, and do not express those of HPI.
**Click the White Thumbs Up Button on the right to say Thanks**

View solution in original post

Was this reply helpful? Yes No
readwrite63
Author
Level 3
40 23 2 3
Message 5 of 8
Flag Post
HP Recommended

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

 

 

Was this reply helpful? Yes No
Chen_HPDM
Level 7
Level 7
504 502 51 84
Message 6 of 8
Flag Post
HP Recommended

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.

I am an HPI Employee.
My opinions are my own, and do not express those of HPI.
**Click the White Thumbs Up Button on the right to say Thanks**
Was this reply helpful? Yes No
readwrite63
Author
Level 3
40 23 2 3
Message 7 of 8
Flag Post
HP Recommended

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 ?

 

 

Was this reply helpful? Yes No
Chen_HPDM
Level 7
Level 7
504 502 51 84
Message 8 of 8
Flag Post
HP Recommended

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.

I am an HPI Employee.
My opinions are my own, and do not express those of HPI.
**Click the White Thumbs Up Button on the right to say Thanks**
Was this reply helpful? Yes No
Warning Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation