Skip to content

problem to run PS script as application

Featured Replies

Hello,

I have a problem running PS scripts packaged as applications. If I run the script once, then everything is OK and the script will run. If I run the same script as an application, I see an error in Deployment Monitoring:
Google Chrome Uninstallation test, PS100014, Test collection, Required, Chrome Uninstallation, Failed to locate content, No additional information, 0x87D0032A (-2016410838), The uninstall command line is invalid, WIN10TEST, 14,18.06.2021 12: 19, Error, MSI, No, (SYSTEM), Yes, No, Yes,
. There is no information in the script.log on the clients computers about running the script.

if($AppInfo = Get-WmiObject Win32_Product -Filter "Name Like 'Google Chrome'"){
    # this is used when teh enterprise version is installed and works for both 32 and 64 bit hrome
   $AppInfo.Delete()  
}
 

I have set the PowerShell execution policy: Bypass in the client settings.
In the application I have set in the Installation program: powershell.exe -executionpolicy bypass -nologo -file Google_Chrome_v6.ps1.

 

I can see this in AppDiscovery.log  on clients:

AppProvider::GetHandlerInfo the action "UninstallAction" object couldn't be found

AppProvider::GetHandlerInfo failed.  Error 0x87d0032a

GetContentInfo failed with error 0x87d0032a

Method GetContentInfo failed with error 87D0032A

CAppProvider::ExecMethodAsync failed. Error 87d0032a

 

 

 

 

 

 

 

 

 

 

Edited by sajeret

  • 1 month later...

Sounds like you are deploying the UNinstall to the device but you mentioned you have the PS1 in the INstall cmdline on the app. So what do you have in the UNinstall cmdline on that app?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.