Author Topic: Base Install PS Detection Method Code Signing Error  (Read 298 times)

Offline rudybankson

  • Newbie
  • *
  • Posts: 5
    • View Profile
Base Install PS Detection Method Code Signing Error
« on: August 28, 2019, 03:47:15 PM »
We're trying to do Base Installs now for Applications. On the Base Install options, we checked the box for "Code-sign the PowerShell detection method script using the WSUS Signing Certificate" and it looks like that signature is getting put in the PS for the detection method for Applications generated by Patch My PC. When we try to deploy the Application, we're getting an error "0x87D00327 Script is not signed" so it fails.

I know I can flip my Client Settings over to set the execution policy to Bypass so it doesn't require the code signing, but is there some obvious mistake we're making that is causing this error?

Offline Justin Chalfant

  • Patch My PC Support
  • Administrator
  • Hero Member
  • *****
  • Posts: 1860
    • View Profile
    • Patch My PC Support
Re: Base Install PS Detection Method Code Signing Error
« Reply #1 on: August 28, 2019, 03:50:46 PM »
Is this during OSD?

Offline rudybankson

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Base Install PS Detection Method Code Signing Error
« Reply #2 on: August 28, 2019, 04:05:41 PM »
Just during normal Application deployments. Tested deployment against a device collection. No user logged into the computer at the time. Windows 10 64 bit domain joined and it gets updates beautifully from PatchMyPC all day long.

Offline Justin Chalfant

  • Patch My PC Support
  • Administrator
  • Hero Member
  • *****
  • Posts: 1860
    • View Profile
    • Patch My PC Support
Re: Base Install PS Detection Method Code Signing Error
« Reply #3 on: August 28, 2019, 04:06:44 PM »
What is the version of PatchMyPC-ScriptRunner.exe in one of the applications failing to detect?

Offline rudybankson

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Base Install PS Detection Method Code Signing Error
« Reply #4 on: August 28, 2019, 05:08:04 PM »
1.5.0.0

Offline Justin Chalfant

  • Patch My PC Support
  • Administrator
  • Hero Member
  • *****
  • Posts: 1860
    • View Profile
    • Patch My PC Support
Re: Base Install PS Detection Method Code Signing Error
« Reply #5 on: August 28, 2019, 05:17:45 PM »
Are this is the version in SCCM application source folder not the publishing service InstallDir right?

Offline rudybankson

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Base Install PS Detection Method Code Signing Error
« Reply #6 on: August 29, 2019, 11:03:15 AM »
Correct. It's in the source content for the deployment with these other files.

Package.xml
PatchMyPC-Sccm.dll
PatchMyPC-ScriptRunner.exe
SketchUpPro2019_19.2.222_x64.msi

Offline Justin Chalfant

  • Patch My PC Support
  • Administrator
  • Hero Member
  • *****
  • Posts: 1860
    • View Profile
    • Patch My PC Support
Re: Base Install PS Detection Method Code Signing Error
« Reply #7 on: August 29, 2019, 01:22:52 PM »
Are you on an email thread with us right now or no?

Offline rudybankson

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Base Install PS Detection Method Code Signing Error
« Reply #8 on: August 29, 2019, 02:50:41 PM »
No sir. I can do that if you think it's a good idea... since it sounds like I'm kind of special.

Offline Justin Chalfant

  • Patch My PC Support
  • Administrator
  • Hero Member
  • *****
  • Posts: 1860
    • View Profile
    • Patch My PC Support
Re: Base Install PS Detection Method Code Signing Error
« Reply #9 on: August 29, 2019, 02:58:53 PM »
Yeah, let's do that. Can you submit a support case https://patchmypc.com/technical-support

We will probably need to set up a remote session.