Jump to content


5ean

Uninstal Acrobat Standard, Install Reader DC

Recommended Posts

Hi,

 

I'm having a hard time getting my head around this.. We have several machines in our environment with Acrobat Standard and i need to uninstall that and have Reader DC installed at the same time, so the user is not without PDF Reader capability.

 

I've downloaded Adobe Cleaner and have got an application remove all old versions of Acrobat, and then an install of Adobe Reader DC set with the removal app as a dependency.

 

The Adobe cleaner is an EXE so not as installable MSI, i just have the exe and syntax in the install section.

 

It gets as far as uninstalling Acrobat from the machine but then doesn't install Reader. It looks like its failing on the detection of the cleaner install (as its removing the software, there's no way of detecting that it ran?)

 

Performing detection of app deployment type Adobe Cleaner (Acrobat)(ScopeId_95A98EB6-5767-4289-8BDE-3633F95EAE3E/DeploymentType_d1882e92-5fc2-49ab-ab98-2d330852f911, revision 19) for system. AppEnforce 02/08/2016 13:36:05 4548 (0x11C4)
+++ Application not discovered. [AppDT Id: ScopeId_95A98EB6-5767-4289-8BDE-3633F95EAE3E/DeploymentType_d1882e92-5fc2-49ab-ab98-2d330852f911, Revision: 19] AppEnforce 02/08/2016 13:36:05 4548 (0x11C4)
++++++ App enforcement completed (8 seconds) for App DT "Adobe Cleaner (Acrobat)" [scopeId_95A98EB6-5767-4289-8BDE-3633F95EAE3E/DeploymentType_d1882e92-5fc2-49ab-ab98-2d330852f911], Revision: 19, User SID: ] ++++++ AppEnforce 02/08/2016 13:36:05 4548 (0x11C4)
I'm guessing if it can't see that the removal app has 'installed' it then bombs out of the reader install?
Any help would be much appreciated.

Share this post


Link to post
Share on other sites


Hi,

 

You would generally have the old adobe product added as an application, then when you want to remove it and install a newer product you would set supercedence, this would then automatically remove the old product and install the new.

 

When you are doing an 'install' deployment then the detection rule will be looking for the presence for something added. The reverse is true for a removal.

 

There are many ways to sort this, one option would be to create your new application as a script installer, this isn't tested and thrown together but maybe a pointer.

:Remove Old Product
AdobeCleaner.exe -S

reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" > NUL && set OS=32BIT || set OS=64BIT

if %OS%==32BIT SET APP_PATH=C:\Program Files\Adobe\Acrobat 11.0\Acrobat
if %OS%==64BIT SET APP_PATH=C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat
ECHO %APP_PATH%

if exist "%APP_PATH%\Acrobat.exe" (
    ECHO Failed to remove old product, exiting with 1603
    EXIT /B 1603	
) else (
    ECHO Old product removed, moving on to install new product
    Msiexec /i "InstallNEWAPP.msi" Transforms="NEWMST.mst" /qn
    SET returncode=%errorlevel%
    Echo Any other actions can go here
    EXIT /b %returncode%
)

Share this post


Link to post
Share on other sites

Hi, thanks for your reply. The issue i have is that there are several versions (5 at last count) of Acrobat installed hence using Acrobat Cleaner as it removes all versions in one go.

Share this post


Link to post
Share on other sites

Create a application as a "script installer". Then create a simple batch script with the first line to run the tool and 2nd line to install the msi.

 

Eg:

 

______

 

Adobeemovaltool.exe -silent

Reader.msi /q

______

 

You can still use the same detection method as you would normally.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...