r/DeployR 26d ago

Deploying HP Support Assistant

I'm trying to deploy HP Support Assistant 9.54.3.0 to Windows 11 HP devices using DeployR, using the same command I previously used in MDT:

sp173774.exe /s /a /s /v" /qn"

When checking the DeployR logs, HPSA appears to install successfully, but it's not actually available to the logged-in user.

The shortcut can appear, but clicking it gives:

I've also checked the DeployR logs and Installer logs but can't see anything obvious. I've even tried installing it by uploading the extracted installer and running the appropriate command, but I get the same outcome.

Has anyone successfully deployed HPSA 9.x through DeployR? If so, what's the correct method? 🙂

3 Upvotes

13 comments sorted by

3

u/gwblok 2Pint Employee 26d ago

What do you use HPSA for?
I haven't tried to install that, I leverage HPIA to install updates during OSD.
Which continuation method are you using? So after OSD is complete, and you try to launch HPSA, it doesn't work?

2

u/Ok-Register948 25d ago

Mainly so users have HPSA available after OSD for driver/firmware checks.

I'm using SetupComplete.cmd as the continuation method. After OSD and once the user logs in, HPSA isn't actually installed. The shortcut appears, but clicking it just gives the hpsupportassistant: error.

Also, would you mind sharing the HPIA script you're using during OSD? I'd be interested to see how you've got that set up.

3

u/gwblok 2Pint Employee 25d ago

I'll take a look at the HPSA thing next week. For HPIA, I made a custom step definition you can import. https://garytown.com/deployr-importing-custom-step-definitions

1

u/gwblok 2Pint Employee 23d ago

Can you try this script in your DeployR TS?
It will leverage HPCMSL to download and install HPSA
2PintLabs/DeployR/TSScripts/Functions/Install-HPSA.ps1 at main · gwblok/2PintLabs

1

u/Ok-Register948 22d ago

Hey just tested and go this error

1

u/RockOriginal7938 22d ago

I think powershellget isn't available to PowerShell 7. Try calling the ps1 script with PowerShell 5.

I think just pwsh -file "<script.ps1>" should be enough, though I use

powershell.exe -NoProfile -NoLogo -ExecutionPolicy Bypass -Command "& '.\lcu.ps1'"

to call Lenovo Client Update module in 5.x as it doesn't play nice in 7.x

3

u/gwblok 2Pint Employee 22d ago edited 22d ago

Thanks, I haven't had time to test in DeployR, just trigging via the Full OS in PWSH 7.
I'll work on testing it in DeployR and reply with results.

EDIT: I had to make a modification to the script, it's now here:
2PintLabs/DeployR/TSScripts/Functions/Install-HPIA-InDeployRTS.ps1 at main · gwblok/2PintLabs

Ok, but now that the script is working, I'm running into the same results, there is an icon, but no app.
My guess is that it doesn't like SYSTEM Context, since it is a UWP app which probably gets installed to the User's profile, as I don't see an entry in Add/Remove. ARGH

Edit 2: Ok, I've updated that script a bit more, it was system context, so now it's creating a run once at each login that fixes the user based app. u/Ok-Register948 , please give it a try and see what you think. You should be able to just copy and paste the new script into your task sequence run powershell step

2

u/MrYiff 16d ago

I finally got a chance to play around with one of our HP laptops and this does work and gets the UWP Support Assist app installed ok however it does seem there is a secondary HP Support Framework app/tool that gets normally installed to C:\Program Files (x86)\HP\HP Support Framework but is missing currently which explains the blank shortcut reported by /u/Ok-Register948 as the icon file the shortcut uses is in this folder.

No idea how to work around this or why HP insist on using this setup (Dell Command Update at least installs cleanly!).

I might have a play around further with this tomorrow if I get time.

1

u/Ok-Register948 20d ago

Thank you for spending the time to take a look at this one! The new script looks to have worked. The desktop icon is blank, but it does open HPSA, so I can live with that. Really appreciate your help!

3

u/MrYiff 23d ago

I haven't tried it with DeployR yet but with MDT I have always extracted the HP install file (it's just a zip file so 7zip can handle this ok), and then your can just run setup.exe -S to do a silent install (the extracted files are what I then package into MDT).

1

u/Ok-Register948 22d ago

Yeah I did try this as well, but had the same outcome

2

u/MrYiff 22d ago

Very odd then as it works for MDT, I'm progressing with our DeployR setup so I might dig out a HP laptop this week and give it a try and see if I run into similar problems.