Adobe Reader/Acrobat path , install plugin - Advanced Installer Community
doctor5
Posts: 1
Joined: Tue Mar 27, 2018 1:27 pm

Adobe Reader/Acrobat path , install plugin

Hi Everyone,

I need to write an Installer that does this:
- Find Adobe Reader path for Version 11 or DC
- Install the Files in "Adobe Reader install\plug_ins" Folder
- Stop when Adobe Reader or wrong Version is not installed
- Do not show the installation folder Dialog
- On uninstall only delete the files and not the plug_ins folder

I do not have a clue how to achieve that. I hope someone has the right idea to push me in the right direction.

Regards
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Adobe Reader/Acrobat path , install plugin

Hello and welcome to our forums,

First of all since you are new, I highly recommend you read our tutorials for a better understanding of how to use Advanced Installer to efficiently deploy your products. This will also help you better understand support team's suggestions now and in the future. The Simple and Professional tutorials are especially important.
- Find Adobe Reader path for Version 11 or DC
To do so you can use our predefined Adobe registry search. Just go to our "Search" page and use the [Add Predefined Search] toolbar button under the "Application Search" menu tab. Then select the "Adobe Acrobat XI installation path" option. A registry search will be added which when the reg value will be find at install time will set the registry search associated property (ADOBE_ACROBAT_XI_PATH) to the registry path.

If this doesn't suit to your requirement then you can create from scratch the registry search and configure as per your requirements to search for the desired registry value.
- Install the Files in "Adobe Reader install\plug_ins" Folder
For this you could go to "Install Parameters" page and set the "Application Folder" field to [ADOBE_ACROBAT_XI_PATH] property formatted reference. Then all you will have to do will be to add your app files under "Application Folder" directory from "Files and Folders" page. You can also create a new folder (plugins) under "Application Folder" directory.
-Stop when Adobe Reader or wrong Version is not installed
You should just add a custom launch condition in "Launch Conditions" page using your Adobe search property (ADOBE_ACROBAT_XI_PATH).
- Do not show the installation folder Dialog
Just go to "Dialogs" page and delete the "FolderDlg" dialog.
- On uninstall only delete the files and not the plug_ins folder
Just go to "Files and Folders" page and right click on your plugins folder. Choose "Properties" and check the "Create folder on target machine" option from the popped up dialog.Click [ok] and then while the same folder is selected press [F8] (go to component shortcut). For the selected component in "Organization" page check the "Permanent" flag.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”