Support Forum: Get Support for Patch My PC Products and Services

Commercial Products: Support for Our Enterprise Product for Microsoft ConfigMgr and Intune => Commercial/Paid Products: Support and General Questions (ConfigMgr and Intune) => Topic started by: brandonm on December 15, 2022, 07:16:18 AM

Title: Putty 0.78 Application package fails to install
Post by: brandonm on December 15, 2022, 07:16:18 AM
We are having a problem with the PMP Putty 0.78 package (SCCM). It is failing to install on all computers we have attempted, returning the same error code. The error code is 0x8000(32768). Do not believe we are having any problems with other PMP Application packages installed from the Software Center. As a test, I verified that the WinMerge package installs successfully.

This is a log from AppEnforce.log of one of the computers:

+++ Starting Install enforcement for App DT "PuTTY 0.78 (x64)" ApplicationDeliveryType - ScopeId_F8C75349-4CF6-4711-9C4A-97B6298C64CB/DeploymentType_98cf91a3-634e-4e8b-8c46-cedaf12309db, Revision - 4, ContentPath - C:\WINDOWS\ccmcache\1ec, Execution Context - System   AppEnforce   12/15/2022 9:04:45 AM   22020 (0x5604)
    Performing detection of app deployment type PuTTY 0.78 (x64)(ScopeId_F8C75349-4CF6-4711-9C4A-97B6298C64CB/DeploymentType_98cf91a3-634e-4e8b-8c46-cedaf12309db, revision 4) for user.   AppEnforce   12/15/2022 9:04:45 AM   22020 (0x5604)
+++ Application not discovered with script detection. [AppDT Id: ScopeId_F8C75349-4CF6-4711-9C4A-97B6298C64CB/DeploymentType_98cf91a3-634e-4e8b-8c46-cedaf12309db, Revision: 4]   AppEnforce   12/15/2022 9:04:47 AM   22020 (0x5604)
    App enforcement environment:
   Context: Machine
   Command line: PatchMyPC-ScriptRunner.exe /InstallPackage
   Allow user interaction: No
   UI mode: 1
   User token: not null
   Session Id: 1
   Content path: C:\WINDOWS\ccmcache\1ec
   Working directory:    AppEnforce   12/15/2022 9:04:47 AM   22020 (0x5604)
    Prepared working directory: C:\WINDOWS\ccmcache\1ec   AppEnforce   12/15/2022 9:04:47 AM   22020 (0x5604)
    Prepared command line: "C:\WINDOWS\ccmcache\1ec\PatchMyPC-ScriptRunner.exe" /InstallPackage   AppEnforce   12/15/2022 9:04:47 AM   22020 (0x5604)
    Executing Command line: "C:\WINDOWS\ccmcache\1ec\PatchMyPC-ScriptRunner.exe" /InstallPackage with user context   AppEnforce   12/15/2022 9:04:47 AM   22020 (0x5604)
    Working directory C:\WINDOWS\ccmcache\1ec   AppEnforce   12/15/2022 9:04:47 AM   22020 (0x5604)
    Post install behavior is BasedOnExitCode   AppEnforce   12/15/2022 9:04:47 AM   22020 (0x5604)
    Waiting for process 16472 to finish.  Timeout = 120 minutes.   AppEnforce   12/15/2022 9:04:47 AM   22020 (0x5604)
    Process 16472 terminated with exitcode: 32768   AppEnforce   12/15/2022 9:04:49 AM   22020 (0x5604)
    Looking for exit code 32768 in exit codes table...   AppEnforce   12/15/2022 9:04:49 AM   22020 (0x5604)
    Unmatched exit code (32768) is considered an execution failure.   AppEnforce   12/15/2022 9:04:49 AM   22020 (0x5604)
++++++ App enforcement completed (3 seconds) for App DT "PuTTY 0.78 (x64)" [ScopeId_F8C75349-4CF6-4711-9C4A-97B6298C64CB/DeploymentType_98cf91a3-634e-4e8b-8c46-cedaf12309db], Revision: 4, User SID: S-1-5-21-xxxxxxxxx] ++++++   AppEnforce   12/15/2022 9:04:49 AM   22020 (0x5604)
Title: Re: Putty 0.78 Application package fails to install
Post by: brandonm on December 16, 2022, 06:45:16 AM
Just want to add that I restored the Putty 0.77 version and that installs properly. I will leave that in place until the 0.78 package is fixed.
Title: Re: Putty 0.78 Application package fails to install
Post by: CMonroe on December 16, 2022, 09:19:14 AM
I'm seeing the EXACT same issue with PuTTY 0.78 in our environment.  Any update from PMPC on a solution?

C. Monroe
Title: Re: Putty 0.78 Application package fails to install
Post by: failau007 on December 16, 2022, 11:37:14 AM
We are having the same issue as well :(
Title: Re: Putty 0.78 Application package fails to install
Post by: swoonhusker on December 16, 2022, 01:27:36 PM
We are also having the same issue.
Title: Re: Putty 0.78 Application package fails to install
Post by: swoonhusker on December 20, 2022, 09:25:37 AM
Looks like this is still an issue for us. Are others still seeing the Putty install failing?
Title: Re: Putty 0.78 Application package fails to install
Post by: CMonroe on December 21, 2022, 08:11:31 AM
The lack of response is disheartening. 
Title: Re: Putty 0.78 Application package fails to install
Post by: EBSCCM on December 21, 2022, 10:12:28 AM
you need to republish this application from the PatchMyPC publishing tool.  They added a .ps1 prescript that must be downloaded into your package.  if you look in the PatchMyPC-ScriptRunner.log on a client pc with the failure you will see this .ps1 script is not found.  they published a note on the putty pre-post script page shown in the attachment.
Title: Re: Putty 0.78 Application package fails to install
Post by: swoonhusker on December 21, 2022, 02:38:12 PM
I have the pre script now but mine is still failing. I am on a machine that has never had Putty installed before. Is this fixed for anyone?
Title: Re: Putty 0.78 Application package fails to install
Post by: McBob on December 22, 2022, 07:22:06 AM
I also republished and have the pre-script now but mine is still failing. I am on a machine that has never had Putty installed before.
Title: Re: Putty 0.78 Application package fails to install
Post by: Adam Cook (Patch My PC) on January 04, 2023, 04:10:55 AM
If you're still experiencing issues with this, please send client logs to [email protected].

https://patchmypc.com/logs
Title: Re: Putty 0.78 Application package fails to install
Post by: PanMiyagi on January 04, 2023, 04:35:06 AM
Hi,
had the same issue - I've add manually that script
First, copy from the PMPC site, save it as "PatchMyPC-Remove-Application-PuTTY.ps1" and add to Putty by right clicking the app and selecting "Manage Custom Pre/Post Scripts" and select this script file and re-publish app.

IT's very important to give that specific name to this script as it will fail if you will name it differently.


Title: Re: Putty 0.78 Application package fails to install
Post by: Adam Cook (Patch My PC) on January 04, 2023, 08:10:34 AM
That is the correct procedure, yes. Or, you can delete the Application in-console, and the source folder, and re-sync to recreate it which should pull down the script into the package. This is a result of a bug in the Publisher that can't add Patch My PC Recommend or Defined scripts after the fact the product has been added to the catalogue.

This was fixed in 2.1.11.0. However, unfortunately a republish doesn't work either so I've raised another bug report internally to fix this.
Title: Re: Putty 0.78 Application package fails to install
Post by: brandonm on January 04, 2023, 09:50:07 AM
Thanks Adam. I deleted the Putty Application from CM console and deleted the source files from disk. Resynced PMP, deployed Putty, tested installation and it was successful.
Title: Re: Putty 0.78 Application package fails to install
Post by: swoonhusker on January 04, 2023, 12:25:04 PM
I also verified that deleting the application and source content and republishing has fixed it for me as well. Thanks!