Comparing local installed plug-in to 'master'version for update checks?

Ask a Question related to Adobe Acrobat SDK, Design and Development.

  1. #1

    Default Comparing local installed plug-in to 'master'version for update checks?

    I'd like to add the ability for my plugin to (correctly) state "An update for this plugin is available" when one is.

    We have a network master location that contains the latest revision.

    How would I check if the user's copy is older than that version?

    Using Acrobat SDK 7 and Visual Studio 2005.

    Thanks,
    Tim James
    Tim_W._James@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. use extensions already installed after dw update possible?
      Installed dreamewaver mx 2004 recently and extension manager shows extensions installed on dreamewaver mx but, 0 extensions in mx 2004. Can I move...
    2. InDesign CD crashes constantly since 3.01 update installed
      Hi everyone, I'm hoping someone may be able to help with my problem. I'm using InDesign 3.01. I updated from V 3.00 today, but ever since I...
    3. PDF Multiple File Binder no longer works after 6.0.1 update installed
      Using the multiple files-to-binder option in Adobe 6.0 worked great until I installed the 6.0.1 update. After the update installation, the entire...
    4. After 6.0.1 update: Error while loading plug-in ebook.api . . . 2 plug-in registering w/same name.
      Today I updated my Acrobat 6.0 standard to 6.0.1 when the program prompted me. The update ran fine, I rebooted the machine as it asked. Now when I...
    5. WS Interoperablity: plug-and-play, plug-and-pray, or plug-and-pry?
      Hi- Are web services interoperable? The debate continues. The answer is yes and no. The real question is when, where, and how much. Here's a set...
  3. #2

    Default Re: Comparing local installed plug-in to'master' version for update checks?

    You'd have to develop your own method for doing this, there is no support for this functionality in the SDK. Updating is all on the developer, the SDK simply allows you to integrate with Acrobat.

    Perhaps a const char* pluginVersion = "1.0" in your plug-in, and check that against some sort of update manifest on your server location, like most updaters do?
    PDL@adobeforums.com Guest

  4. #3

    Default Re: Comparing local installed plug-in to'master' version for update checks?

    Is it possible for the plug-in to get it's own file info? like

    stat( "\\PathtoPlugin\\PluginName.api", &stPluginInfo)

    I don't know what to put in for "\\PathtoPlugin"
    Tim_W._James@adobeforums.com Guest

  5. #4

    Default Re: Comparing local installed plug-in to'master' version for update checks?

    This should return you the information that you need

    AVExtensionAcquireInfo

    it returns an AVExtensionInfo structure which contains

    Major and minor versions of plug-in (if available)
    and the path to the plugin

    HTH

    Malky
    malkyt@adobeforums.com Guest

  6. #5

    Default Re: Comparing local installed plug-in to'master' version for update checks?

    Looks like just what I want. Is there a shortcut to get the index required by AVExtensionAcquireInfo that references the current plug-in, or do I just enumerate them till finding the one I'm looking for.
    Tim_W._James@adobeforums.com Guest

  7. #6

    Default Re: Comparing local installed plug-in to'master' version for update checks?

    You have to enumerate them, you can use

    AVExtensionGetNumPlugIns to tell you how many plug-in are actually loaded by Acrobat.

    Malky
    malkyt@adobeforums.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139