@JWillms Although i haven't tried it but worklet should do the trick!! can you put your code in here so members can have a look and provide feedback!!
Thanks @Maulik_Busa !
It’s a simple one liner;
Start-Process -FilePath 'msiexec.exe' -ArgumentList '/qn', '/p', 'FoxitPDFEditorUpd1401.msp' -Wait -Passthru
I attach the MSP file in question to the worklet, throw in an exit 0 for evaluation and the above command in the remediation code.
Actually, when responding here, I found a typo and things appeared to work correctly. Seems I just need another set of eyes so to speak.
@JWillms Glad it worked out lol.
Thanks
@JWillms
The Required Software policy requires the scope to be exact, even case sensitive for compliance.
I was able to get this updated using the script similar to yours:
Start-Process -FilePath "foxit1401.msp" -ArgumentList "/norestart /qn" -Wait -PassThru -ErrorAction Stop
Pre-Deployment
Required Software Contents
Post-policy deploymentHope this helps, more than happy to answer any follow up questions.
Regards,