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

Patch My PC Third-Party Update Catalog for Microsoft SCCM (Enterprises/Paid) => Request New Software | Third-Party Update Catalog for SCCM => Software Request - Currently Incompatible => Topic started by: ronmanp on December 02, 2016, 06:50:47 AM

Title: Perforce client
Post by: ronmanp on December 02, 2016, 06:50:47 AM
Hi, this product is quite popular in development companies so it would be useful to be able to patch it through your SCUP catalog.
https://www.perforce.com/downloads/helix

Considering you can extract the MSI from the installer it should be a fairly easy one to package.

Thank you
Title: Re: Perforce client
Post by: Admin - Omar on December 02, 2016, 07:29:32 AM
We will look into this product, You are talking about "Helix Server" right?
Title: Re: Perforce client
Post by: ronmanp on December 02, 2016, 07:31:02 AM
Great news! No I just mean the P4 Visual Client:
https://www.perforce.com/ko/product/components/perforce-visual-client
Title: Re: Perforce client
Post by: Admin - Omar on December 02, 2016, 08:03:50 AM
Ok, Will see what we can do :)
Title: Re: Perforce client
Post by: Justin Chalfant on December 07, 2016, 08:58:42 AM
Hi Ron,

The installer for this product on x64 operating systems does not seem to run successfully under the system account being used to install the updates from SCCM.
Title: Re: Perforce client
Post by: ronmanp on December 07, 2016, 09:36:57 AM
That's unfortunate. What kind of error codes does it return?
Title: Re: Perforce client
Post by: Justin Chalfant on December 07, 2016, 10:15:58 AM
Log below. It definitely has to do with the installer running under the system account based on our testing.

=== Verbose logging started: 12/4/2016  17:39:39  Build type: SHIP UNICODE 5.00.7601.00  Calling process: C:\WINDOWS\SysWOW64\MSIEXEC.EXE ===
MSI (c) (28:B8) [17:39:39:675]: Resetting cached policy values
MSI (c) (28:B8) [17:39:39:675]: Machine policy value 'Debug' is 0
MSI (c) (28:B8) [17:39:39:675]: ******* RunEngine:
           ******* Product: C:\WINDOWS\system32\config\systemprofile\AppData\Local\{2B4CDACB-7B33-47D8-9AC5-B232D5191BA3}\p4vinst64.msi
           ******* Action:
           ******* CommandLine: **********
MSI (c) (28:B8) [17:39:39:677]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (28:B8) [17:39:39:677]: Grabbed execution mutex.
MSI (c) (28:B8) [17:39:39:683]: Cloaking enabled.
MSI (c) (28:B8) [17:39:39:683]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (28:B8) [17:39:39:689]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (A8:AC) [17:39:39:696]: Running installation inside multi-package transaction C:\WINDOWS\system32\config\systemprofile\AppData\Local\{2B4CDACB-7B33-47D8-9AC5-B232D5191BA3}\p4vinst64.msi
MSI (s) (A8:AC) [17:39:39:696]: Grabbed execution mutex.
MSI (s) (A8:18) [17:39:39:698]: Resetting cached policy values
MSI (s) (A8:18) [17:39:39:698]: Machine policy value 'Debug' is 0
MSI (s) (A8:18) [17:39:39:698]: ******* RunEngine:
           ******* Product: C:\WINDOWS\system32\config\systemprofile\AppData\Local\{2B4CDACB-7B33-47D8-9AC5-B232D5191BA3}\p4vinst64.msi
           ******* Action:
           ******* CommandLine: **********
MSI (s) (A8:18) [17:39:39:698]: Note: 1: 2203 2: C:\WINDOWS\system32\config\systemprofile\AppData\Local\{2B4CDACB-7B33-47D8-9AC5-B232D5191BA3}\p4vinst64.msi 3: -2147287037
MSI (s) (A8:18) [17:39:39:699]: MainEngineThread is returning 3
MSI (s) (A8:AC) [17:39:39:699]: User policy value 'DisableRollback' is 0
MSI (s) (A8:AC) [17:39:39:699]: Machine policy value 'DisableRollback' is 0
MSI (s) (A8:AC) [17:39:39:699]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (A8:AC) [17:39:39:699]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (A8:AC) [17:39:39:699]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (A8:AC) [17:39:39:699]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
MSI (s) (A8:AC) [17:39:39:700]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
MSI (s) (A8:AC) [17:39:39:700]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (s) (A8:AC) [17:39:39:700]: Restoring environment variables
MSI (c) (28:B8) [17:39:39:701]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (28:B8) [17:39:39:702]: MainEngineThread is returning 3
=== Verbose logging stopped: 12/4/2016  17:39:39 ===

Title: Re: Perforce client
Post by: ronmanp on December 07, 2016, 11:12:27 AM
Seems this -2147287037 error is common with installers running as SYSTEM.
http://www.itninja.com/question/32-bit-install-from-startup-script-fails-on-64-bit-machines
http://serverfault.com/questions/721388/java-msi-install-error-3-2147287037

I was able to upgrade this way with version 2014. I will try it again tomorrow.
msiexec /i "p4vinst64.msi" /q /norestart /l+* "%TEMP%\PerforceMSI.log" REINSTALL=ALL REINSTALLMODE=vomus IS_MAJOR_UPGRADE=1

Thanks again
Title: Re: Perforce client
Post by: Justin Chalfant on December 07, 2016, 04:13:35 PM
We will try these switches with SCUP and see if that works. Thanks for the info
Title: Re: Perforce client
Post by: Admin - Omar on June 07, 2017, 06:29:30 AM
Sorry for the late reply, Unfortunately the switches didn't work and the x64 is still failing to install.