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: dforce on March 03, 2025, 04:18:56 PM

Title: Adobe Acrobat Pro customizations fail
Post by: dforce on March 03, 2025, 04:18:56 PM
Hello,

We're attempting to deploy the new Adobe Acrobat Pro application via Intune with our transforms file, but the installation files reporting "An error occurred while preparing the installation of the application: The system cannot find the file specified". The transform file, AcroPro.mst, was generated using Adobe's Acrobat Customization Wizard for Windows and uploaded to PMPC cloud portal as an extra file. My understanding of the documentation is that any mst files uploaded this way are automatically appended to the command arguments, so I didn't expect to need to do anything else. When invoked the installation fails and logs at C:\ProgramData\PatchMyPCIntuneLogs\PatchMyPC-ScriptRunner.log report the message above.

I next tried modifying the installation parameters to add "/msi TRANFORMS=AcroPro.mst". When configured this way the script runner gives the same error, except the exact file path of the .mst file is included -  "C:\Windows\IMECache\9ce30df7-293a-4603-ac54-2d45c9581239_1\AcroPro.mst"

What am I doing wrong here?
Title: Re: Adobe Acrobat Pro customizations fail
Post by: Andrew Jimenez (Patch My PC) on March 04, 2025, 08:09:32 AM
The 2nd thing you tried should have worked. We'll do some testing on our end and let you know what we find.
Title: Re: Adobe Acrobat Pro customizations fail
Post by: Andrew Jimenez (Patch My PC) on March 05, 2025, 08:49:30 AM
It should work if you don't use the "/msi" switch. The following additional command-line should work.

TRANSFORMS=AcroPro.mst

Should be all that is needed to be added.
Title: Re: Adobe Acrobat Pro customizations fail
Post by: dforce on March 05, 2025, 03:09:18 PM
No luck. Here are the relevant log entries generated by an installation attempt removing the "/msi" switch:

<![LOG[No need to abort due to the running processes]LOG]!><time="14:03:44.191446" date="03-05-2025" component="ScriptRunner" context="" type="1" thread="1" file="">
<![LOG[Running application install: Adobe Acrobat\setup.exe with arguments: /sAll /rs TRANSFORMS="C:\Windows\IMECache\267ee1e1-d7fb-461f-80e4-c99e06b09e1e_1\AcroPro.mst"]LOG]!><time="14:03:44.195445" date="03-05-2025" component="PerfTimerLogger" context="" type="1" thread="1" file="">
<![LOG[Running application install: Adobe Acrobat\setup.exe with arguments: /sAll /rs TRANSFORMS="C:\Windows\IMECache\267ee1e1-d7fb-461f-80e4-c99e06b09e1e_1\AcroPro.mst" finished with Elapsed Time: 00 minutes 00 seconds 034 milliseconds]LOG]!><time="14:03:44.232504" date="03-05-2025" component="PerfTimerLogger" context="" type="1" thread="1" file="">
<![LOG[An error occurred while preparing the installation of the application: The system cannot find the file specified]LOG]!><time="14:03:44.234504" date="03-05-2025" component="ScriptRunner" context="" type="3" thread="1" file="">
<![LOG[End of installation. Exit code is: -2147467259]LOG]!><time="14:03:44.237504" date="03-05-2025" component="ScriptRunner" context="" type="1" thread="1" file="">
Title: Re: Adobe Acrobat Pro customizations fail
Post by: Andrew Jimenez (Patch My PC) on March 05, 2025, 03:12:06 PM
Thanks for letting us know! I think we've found a bug in cloud for this. We're working on reproducing the issue. I'll post when we've found a solution!
Title: Re: Adobe Acrobat Pro customizations fail
Post by: ekraus on March 06, 2025, 07:45:18 AM
I happen to be going down this road myself and I'm interested in the outcome. Replying to follow.
Title: Re: Adobe Acrobat Pro customizations fail
Post by: Andrew Jimenez (Patch My PC) on March 07, 2025, 12:11:49 PM
We've confirmed this bug, I'm hoping we'll have a fix sometime next week. I'll update this post once I have more info!
Title: Re: Adobe Acrobat Pro customizations fail
Post by: Russell Fox on March 07, 2025, 03:13:11 PM
Following. I just ran into this issue myself.
Title: Re: Adobe Acrobat Pro customizations fail
Post by: CJDruiventak on March 10, 2025, 10:59:32 AM
Ran into this too. I quickly copied the zip from te intune staging folder and notice setup.exe was missing. I extracted de setup form the zip and added as additional file in the deployment and also added te pre install script expand-archive (from the vscode KB artical custom apps). And it worked for me, installation succesfull.
Title: Re: Adobe Acrobat Pro customizations fail
Post by: Andrew Jimenez (Patch My PC) on May 07, 2025, 11:40:01 AM
We pushed a fix to PMPC Cloud for this issue this morning. The proper commandline looks to be: /msiTRANSFORMS=transformname.mst

Then upload the mst as an additional file.
Title: Re: Adobe Acrobat Pro customizations fail
Post by: smedd on May 07, 2025, 01:37:48 PM
Just a note, the fix does not work. I did a full redeploy, and it is the same error. The patch notes act like the mst was the missing file, but it looks more like it is the path to the setup.exe. If you open the IMECache before it is cleared, there is no path "Adobe Acrobat\setup.exe" as it is still in the archive.

To resolve the issue for now, you can expand the archive by adding this to a pre-installation script.

try { Get-ChildItem -Path $PSScriptRoot -Filter "*.zip" | ForEach-Object { Expand-Archive -Path $_.FullName -DestinationPath $PSScriptRoot -Force -ErrorAction Stop }; } catch { exit 1 }
Title: Re: Adobe Acrobat Pro customizations fail
Post by: Andrew Jimenez (Patch My PC) on May 09, 2025, 11:58:18 AM
Thanks for the feedback. I'll test again today, it seemed to work in my test environment.
Title: Re: Adobe Acrobat Pro customizations fail
Post by: Andrew Jimenez (Patch My PC) on May 09, 2025, 12:46:52 PM
I just tested this again in my production lab environment, and successfully installed the application via cloud.

Here are the steps I followed:
1. Generated an mst file (AcroPro.mst). To confirm my testing was successful, I had the MST add a brand new registry value under the Adobe Key.
CustWiz_LcGhdrEd7w.png

2. Created a new deployment of the Adobe Acrobat Pro application in PMPC Cloud

3. On the "Configurations" tab, set the "Additional Argument" to "/msiTRANSFORMS=AcroPro.mst"
RemoteDesktopManager_TlCytWHfr1.png

4. Upload the AcroPro.mst file as an additional file under "Extra Files"
RemoteDesktopManager_E4vklKHrHN.png

5. Assign the app to my device as available

6. Installed via Company Portal
RemoteDesktopManager_NRnM1uzkkK.png

7. Checked to see that the MST had applied by checking the custom registry value.
RemoteDesktopManager_G0IGvXH0kV.png

If you are still running into issues, please open a support case and we can gather more data and open a bug. Thanks!