Powershell Script To Update Adobe Reader Dc

0 views
Skip to first unread message
Message has been deleted

Kathryn Garivay

unread,
Jul 12, 2024, 5:43:41 AM7/12/24
to ineathepbi

Having a hell of a time figuring out which installer to use for a 64 bit adobe reader deployment via intune win32 app. I located a good process at =TVAADl2J65Y for the 32 bit version, but I cant find an offline 64 bit installer that will let me extract the MSI from it.

powershell script to update adobe reader dc


DESCARGAR https://tlniurl.com/2yOz4g



To install Adobe Reader using MSI files, you need to download offline installer for Adobe reader from here Adobe Reader Enterprise. After Downloading, unzip de exe file with 7zip or WinRAR. Inside of folder, you will also find the msi file. You need to use the entire folder for installation, not only MSI installer.

I think i figured it out. The English US language selection does not give you a 64 bit DL. Unfortunately, I had to use the all languages MUI installer which is twice the size of the 32 bit version i first attempted. It works, but 1GB for an intune app... welcome to adobe enterprise standards i guess.

Hello,
After downloading the offline installer of Adobe Reader DC x64 (exe file) and extract its contents with 7zip, you get several files, including a msi and msp. But that standalone msi file is not the latest version of Reader DC, hence the msp file which probably contains the updates. However, I can only load a msi file in Intune, so how do I get a single msi files that corresponds to the latest version of Adobe Reader DC ?

Step 4
Use the files to create a package. I'm installing the up-to-date .msp with the msi (see here). Note that the msi is called acropro.msi but contains the reader. The msi can be executed like this:

Hi, I'm not sure about autopilot. But I usually deploy MSI packages in Intune using a win32 application though I wrap the application/installer in a powershell app deployment package. (example: -app-packaging-a-beginners-guide-part-1-win32/).
But you can also use a simple powershell script to start the installation -to-deploy-an-msi-using-powershell-script-and-intune/
Either way you add all the files to a directory (including the powershell script/batch script/PADT script), create the .intunewin file using IntuneWinAppUtil (you can download that from Microsoft), add a win32application to intune which executes the script you wrote and use the msi guid as dectection rule.

I have tried modifying the reg key. That works for Adobe Reader, but not for Acrobat Pro. I incorporated the REINSTALL=ALL REINSTALLMODE=VOMUS into my script and worked great. I use a single powershell script to install or patch my Adobe Acrobat. works great

All you have to do is remember that since Windows 7, the ENTIRE msi is cached under C:\windows\installer as otherwise a code signed MSI is broken by having the internal CABS removed and will fail on uninstall. So then all you need to do is include the cached location under C:\Windows\Installer in the sourcelist.

I am a newbie on this forum but has developed some simple powershell scripts for file manipulation in the past. Part my task right now is to combine .pdf files into a portfolio using adobe acrobat through powershelll. My code looks like this

MotoX80 - Yeah I have tried that on but to no avail. the 'importDataObject' is part of the adobe acrobact dc automation which I believe is a java script embeded on the com object. I am not sure if I am doing the line '$Coll = $JSODoc.app.newcollection' correctly.

If it works in VBA, then I would expect it to work in PS, but you never know. I have no way to test this and no experience with Adobe. You might have better luck asking this question in an Adobe forum.

I've done some experimenting with automating software installs using powershell and winget. As many of you know, one of the primary blockers to winget is the fact that it runs in the user session. After a few hours of reading discussions on github, I came across this thread with a promising approach from rothgecw to running winget as system. This opened up a world of possibility!

In my testing I discovered that when winget upgrades, the old directory in C:\Program Files\WindowsApps isn't always deleted so I needed a way to find the most up to date version of winget in the WindowsApps folder. Hence the first part of the script below. I start by finding the directory winget is installed in, if there are multiple versions, I sort the directories by path and save the last path as a variable. From there I write the output of the variable to the console for sanity and troubleshooting purposes so I can see the directory in the command results from within the JumpCloud admin console. Then I cd to that directory and we are ready to start using winget as system.

After navigating to the correct directory, we can pass commands to winget. Below is an example of a powershell script that installs Adobe Acrobat Reader on a system if it isn't already installed. I start by searching the device for the software using winget list. Then I use an if statement to determine whether or not the software needs installed. If the software does need installed, I pass the following command to winget for a silent install of Adobe Acrobat Reader: winget install --id 'Adobe.Acrobat.Reader.64-bit' --silent --accept-package-agreements --accept-source-agreements.

Thanks for sharing Jacob. Been following winget for a while but running with Jumpcloud has never been successful.
Just tested the script above to install an app but it just returns Adobe Reader is already installed, but actually its not installed on the device.

Have you stumbled across this issue before ? Or where do you reckon I might have gone wrong?

@BeckyScott Sure thing.

So the script is literally the same as @JacobLawson has posted above but to install OpenVPN Connect. I have tried the above script and the result is the same for Adobe Reader too.

Here is the screen recording: _eXmDJgvIpqvbDP9o5/view?usp=sharing

Here is the script from Jacob where I have just replaced Adobe to install OpenVPN

If you are an organization using Chocolatey, we want your experience to be fully reliable. Due to the nature of this publicly offered repository, reliability cannot be guaranteed. Packages offered here are subject to distribution rights, which means they may need to reach out further to the internet to the official locations to download files at runtime.

Fortunately, distribution rights do not apply for internal use. With any edition of Chocolatey (including the free open source edition), you can host your own packages and cache or internalize existing community packages.

This package installs/upgrades the Multi-lingual ("MUI") release. In some cases, this package will by default be able to install over the top of a language-specific installation. Otherwise, this package will exit and require either a manual uninstall of the language specific installation or having the parameter '/OverwriteInstallation' set to do this automatically.

If the package fails on Windows 8.1 or earlier, this might be due to the installation of kb2919355 (which is a dependency of this package) if your system is not up-to-date. This KB requires a reboot of the system before the adobereader package installs successfully.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Hi, I have a form that check for data validation using script. If the "Enable Acrobat JavaScript" is not check at the Adobe Reader, the form data validation will not be executed. How can I solve this problem? Any script to enable the javascript? There is this AddRequirement method for the document object, I tried but don't seem to work. Thank you.

Thank you for sharing. The point is that I designed a form with script validation on certain fields. If the user use an Adobe Reader with the setting for 'Enable Acrobat Javascript" not checked, those validations using script will not be executed. The form data will not be correct. How to warn user if the setting is not enable? Or don't even let the user to proceed on with opening the form. Is it possible? How to do it? Better still, if user open the form, the setting is enabled. Can do?

Thank you. I read the Adobe document about javascript API, there is this document object method AddRequirement that can check for the setting on the preference javascript category. Has anyone come across this method? Thank you.

I too have developed a LC form using JS. I just tested with Acrobat Read 9 by turning off JS, as described in this post. When I went to open my form, the reader gave a warning and asked if I wanted to turn JavaScript on.

This tells me that YOU don't have to do anything within the form. However, if you have a document or set of instructions that go with your form, you probably want to address that issue there -- tell users that they need JS turned on

Thank you... The problem is that some user might choose not to follow the instruction that was prompted. Is there a way to prevent user from proceeding on with the editing of the form if javascript is not enabled. The Adobe document mentioned the AddRequirement function. I just can't get it work.

To say this is hacky is an understatement! It seems that this is really an issue with adobe acrobat reader as that is the pdf viewer and it seems windows farms out the printing to it. This actually does make sense and I'm sure that there are some decent reasons for why things are the way they are. I also don't know powershell and I didn't really try to understand it, so I looked for a way to do printing with something I'm comfortable with.

d3342ee215
Reply all
Reply to author
Forward
0 new messages