SCCM - PSAppDeployment Toolkit - Adobe Reader DC MUI
Hi All,
I was wondering if anyone could assist with the below error I`m receiving? I`m attempting to deploy Adobe Reader DC MUI with a customised MST file via SCCM (PSAppDeployment).
MSI (s) (38:BC) [16:22:51:491]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (38:BC) [16:22:51:511]: Machine policy value 'LimitSystemRestoreCheckpointing' is 0
MSI (s) (38:BC) [16:22:51:511]: Note: 1: 1715 2: Adobe Acrobat Reader DC MUI
MSI (s) (38:BC) [16:22:51:512]: Calling SRSetRestorePoint API. dwRestorePtType: 0, dwEventType: 102, llSequenceNumber: 0, szDescription: "Installed Adobe Acrobat Reader DC MUI.".
MSI (s) (38:BC) [16:23:03:742]: The call to SRSetRestorePoint API succeeded. Returned status: 0, llSequenceNumber: 91.
MSI (s) (38:BC) [16:23:03:759]: File will have security applied from OpCode.
MSI (s) (38:BC) [16:23:10:012]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\temp\Setup\Files\AcroRead.msi' against software restriction policy
MSI (s) (38:BC) [16:23:10:012]: SOFTWARE RESTRICTION POLICY: C:\temp\Setup\Files\AcroRead.msi has a digital signature
MSI (s) (38:BC) [16:23:10:078]: SOFTWARE RESTRICTION POLICY: C:\temp\Setup\Files\AcroRead.msi is permitted to run at the 'unrestricted' authorization level.
MSI (s) (38:BC) [16:23:10:078]: End dialog not enabled
MSI (s) (38:BC) [16:23:10:078]: Original package ==> C:\temp\Setup\Files\AcroRead.msi
MSI (s) (38:BC) [16:23:10:078]: Package we're running from ==> C:\Windows\Installer\1e014c.msi
MSI (s) (38:BC) [16:23:10:093]: APPCOMPAT: Compatibility mode property overrides found.
MSI (s) (38:BC) [16:23:10:093]: APPCOMPAT: looking for appcompat database entry with ProductCode '{AC76BA86-7AD7-FFFF-7B44-AC0F074E4100}'.
MSI (s) (38:BC) [16:23:10:093]: APPCOMPAT: no matching ProductCode found in database.
MSI (s) (38:BC) [16:23:10:103]: Machine policy value 'DisablePatch' is 0
MSI (s) (38:BC) [16:23:10:103]: Machine policy value 'AllowLockdownPatch' is 0
MSI (s) (38:BC) [16:23:10:103]: Machine policy value 'DisableLUAPatching' is 0
MSI (s) (38:BC) [16:23:10:103]: Machine policy value 'DisableFlyWeightPatching' is 0
MSI (s) (38:BC) [16:23:10:104]: Looking for secure file transform:
MSI (s) (38:BC) [16:23:10:104]: Note: 1: 2343
MSI (s) (38:BC) [16:23:10:104]: Unable to create a temp copy of transform ''.
MSI (s) (38:BC) [16:23:10:104]: Note: 1: 2203 2: 3: -2147287037
MSI (s) (38:BC) [16:23:10:104]: Couldn't find cached transform . Looking for it at the source.
MSI (s) (38:BC) [16:23:10:104]: Resolving source.
MSI (s) (38:BC) [16:23:10:104]: Resolving source to launched-from source.
MSI (s) (38:BC) [16:23:10:104]: Setting launched-from source as last-used.
MSI (s) (38:BC) [16:23:10:104]: SOURCEDIR ==> C:\temp\Setup\Files\
MSI (s) (38:BC) [16:23:10:104]: SOURCEDIR product ==> {AC76BA86-7AD7-FFFF-7B44-AC0F074E4100}
MSI (s) (38:BC) [16:23:10:104]: Looking for secure file transform:
MSI (s) (38:BC) [16:23:10:104]: Note: 1: 2343
MSI (s) (38:BC) [16:23:10:104]: Unable to create a temp copy of transform ''.
MSI (s) (38:BC) [16:23:10:105]: Note: 1: 2203 2: 3: -2147287037
MSI (s) (38:BC) [16:23:10:105]: Couldn't find cached transform . Looking for it at the source.
MSI (s) (38:BC) [16:23:10:105]: Looking for secure file transform: C:\temp\Setup\Files\Customize.mst
MSI (s) (38:BC) [16:23:10:105]: Note: 1: 1324 2: Customize.mst
3: 1
MSI (s) (38:BC) [16:23:10:105]: Unable to create a temp copy of transform 'C:\temp\Setup\Files\Customize.mst
'.
MSI (s) (38:BC) [16:23:10:105]: Note: 1: 2203 2: C:\temp\Setup\Files\Customize.mst
3: -2147286788
DEBUG: Error 2203: Database: C:\temp\Setup\Files\Customize.mst
. Cannot open database file. System error -2147286788
1: 2203 2: C:\temp\Setup\Files\Customize.mst
3: -2147286788
MSI (s) (38:BC) [16:23:10:108]: Note: 1: 1708
It would appear the script is unable to locate the location of the MST (which is in the same location as the MSI) but if I run the below command from CMD it works.
msiexec /i "AcroRead.msi" Transforms="Customize.mst"
The custom MST has been created using Acrobat Customization Wizard DC.
PSAppDeployment command in Powershell...
## <Perform Installation tasks here>
# Install the base MSI and apply a transform
Execute-MSI -Action Install -Path 'AcroRead.msi' -Transform `Customize.mst`
# Install the patch
Execute-MSI -Action Patch -Path 'AcroRdrDCUpd1500920079_MUI.msp'
This also installs a MSP patch.
Thanks in advance,
Scott Evans
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
rileyz
8 years ago
Why are you using PSAppDeployment?
SCCM does this out of the box, I havent used it for ages but there is a way to link multiple bits for an application. Need a SCCM guru to explain, or when im back in the office I'll let you know.
The above aside, your powershell is malformed, you have back ticks where it should be single quotes.
Execute-MSI -Action Install -Path 'AcroRead.msi' -Transform `Customize.mst`
Comments:
-
+1 for the "bad ticks". Looking at the msi log file, that's why the ..Unable to create a temp copy of transform ''.. seems to be there... - Pressanykey 8 years ago