Announcement

Collapse
No announcement yet.

Acrobat

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Acrobat

    I’m not a programmer and therefore I’m having somewhat of hard time trying to figure out how to check for a version of the Adobe Acrobat reader version 4.0. I have figured out how to install a program with SF6 and was very happy. Now I want to have the set up program first check to see if Acrobat Reader 4.0 or higher is installed and if is not I want to install the reader before installing my product, and after that I want it to go about installing my files. I have seen some posts on this but it is still unclear to me on how to go about this any help would be greatly appreciated.

  • #2
    Re: Acrobat

    You will need to test this out with various OS's and versions of Acrobat, however one method is to use the "Read File Association" action in order to read the .pdf file extension. If that value succeeds it will return the path to the program executable that is used to open that file type. If it fails, the value in the "Default value" field will be returned.

    Therefore you could first launch that Read File Association action.
    If that returned value equals the default value, they do not have it installed, or is not installed properly.
    If that value exists there is a program associated with it, therefore you could then check the version number of the executable file to see if it needs updating.

    Note: Windows 2000(maybe others) ship with the .pdf extension but there is no program associated with it. On other OS's, there is no extension at all if it is not installed.

    That is one method to give a try. If you have any further questions, feel free to post back.

    Comment

    Working...
    X