Announcement

Collapse
No announcement yet.

Detecting and installing Acrobat Reader

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Detecting and installing Acrobat Reader

    Hi,

    I am trying to detect Acrobat Reader, if it is there open the .pdf document, otherwise install Acrobat reader. I think that I have the part where I put SOFTWARE\Adobe\Acrobat\4.0 in the sub key and HKEY_LOCAL_MACHINE in the main key.

    After that, I don't know how to detect what the Boolean result and execute the install.

    This first timer would love some help!
    -Uncle Cake

  • #2
    Re: Detecting and installing Acrobat Reader

    What I do is I search for

    %ProgramFiles%\Adobe\Acrobat 5.0\Reader\AcroRd32.exe

    if it is there I know they have it installed and I do nothing, if I dont fine it I install.

    Comment


    • #3
      Re: Detecting and installing Acrobat Reader

      Thanks Jason,

      But how do I do test that true and false and then install based on the result?

      -Uncle Cake

      Comment


      • #4
        Re: Detecting and installing Acrobat Reader

        What version of Setup Factory are you currently using, 6.0, 5.0 ...

        ------------------
        Sincerely,

        Darryl Hnatiuk
        Indigo Rose Corporation

        Comment


        • #5
          Re: Detecting and installing Acrobat Reader

          I am using AutoPlay Menu 3.0. I know that you can do this in it, but I am not sure how.

          -Uncle Cake

          Comment


          • #6
            Re: Detecting and installing Acrobat Reader

            I check HKEY_CLASSES_ROOT\pdf. If this key exists I assume they are setup to handle pdf docs.

            I've also found that Adobe 5 doesn't seem to work with Windows 95, so I install Adobe 4 on machines with that OS.

            Comment


            • #7
              Re: Detecting and installing Acrobat Reader

              How do I test that true or false?

              -Uncle Cake

              Comment


              • #8
                Re: Detecting and installing Acrobat Reader

                Originally posted by UncleCake:
                Thanks Jason,

                But how do I do test that true and false and then install based on the result?

                -Uncle Cake
                I search for it in that location only, id the value returned is anything other than the default "NOT FOUND" I do the install.

                If (%FilesearchresultAB%= "NOT FOUND" And %Packagevariablep%=True)
                Excute (%srcdrv%\extras\acrobate reader\setup.exe)
                end if
                email mail me if you want more info
                [email protected]

                Comment


                • #9
                  Re: Detecting and installing Acrobat Reader

                  What version of SUF are you using? In SUF 6 there is a checkbox for "set variable to TRUE if key exists" in the read from registry action. I recall a similar feature in SUF 5.

                  Comment


                  • #10
                    Re: Detecting and installing Acrobat Reader

                    Note, that usually there is file association to point the binary. No need to hassle with registry.

                    Timo

                    Comment

                    Working...
                    X
                    😀
                    🥰
                    🤢
                    😎
                    😡
                    👍
                    👎