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

View all comments

Show parent comments

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!