none
How to get the path of highest version of VSTOInstaller.exe present in the machine. RRS feed

  • Question

  • How to get the latest version of VSTOInstaller.exe present in the machine.

    I am working for a word Add-In application but i have to manually change the path as per the latest version present.

    Any help regarding this will be appreciated.


    Gyana Ranjan Panda

    Thursday, December 20, 2012 12:57 PM

All replies

  • i guess you could check HKLM\Software\Microsoft\VSTO Runtime Setup - there you can have multiple keys that have Version property.
    • Marked as answer by 许阳(无锡)Moderator Tuesday, December 25, 2012 1:19 AM
    • Unmarked as answer by Gyana Thursday, December 27, 2012 1:03 PM
    • Proposed as answer by 许阳(无锡)Moderator Tuesday, January 1, 2013 1:19 AM
    • Unproposed as answer by Gyana Wednesday, January 2, 2013 1:48 PM
    Thursday, December 20, 2012 2:16 PM
  • If the VSTO runtime is installed, there are certain keys that are created, the registry key is :HKEY_LOCAL_MACHINE\Software\Microsoft\vsto runtime Setup on computer with 32-bit system

    and  the registry key is :Software\\Wow6432Node\\Microsoft\\VSTO Runtime Setup on computer with 64-bit system.  you also can reference the following link:

    http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/859192ec-28d4-426c-bcfb-90739880c70e

    • Marked as answer by 许阳(无锡)Moderator Tuesday, December 25, 2012 1:19 AM
    • Unmarked as answer by Gyana Thursday, December 27, 2012 1:03 PM
    • Proposed as answer by 许阳(无锡)Moderator Tuesday, January 1, 2013 1:19 AM
    • Unproposed as answer by Gyana Wednesday, January 2, 2013 1:48 PM
    Thursday, December 20, 2012 3:41 PM
  • actually it depends on bitness of office, not OS itself, so Wow6432Node will be used on 64 bit OS and 32 bit office.
    • Marked as answer by 许阳(无锡)Moderator Tuesday, December 25, 2012 1:19 AM
    • Unmarked as answer by Gyana Thursday, December 27, 2012 1:03 PM
    • Proposed as answer by 许阳(无锡)Moderator Tuesday, January 1, 2013 1:19 AM
    • Unproposed as answer by Gyana Wednesday, January 2, 2013 1:48 PM
    Thursday, December 20, 2012 7:14 PM
  • Can i have a generic path or piece of code which can tell me the path of the latest version of VSTOInstaller.exe irrespective of 32 bit or 64 bit machine.

    Gyana Ranjan Panda

    Thursday, December 27, 2012 1:04 PM
  • Hi Gyana,

    Thanks for posting in the MSDN Forum.

    It's based on my experience I'm afraid there have no "generic" path or program for your issue. I think there have no one can promise you that VSTO run time all always show it's version on a specific path. We only can say that as usual we are able to find out under some specific registry key. It's way I consider DamianD and Learning hard's reply can be answer for this issue.

    Have a good day,

    Tom


    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Proposed as answer by 许阳(无锡)Moderator Tuesday, January 1, 2013 1:19 AM
    • Unproposed as answer by Gyana Wednesday, January 2, 2013 1:49 PM
    Friday, December 28, 2012 1:54 AM
    Moderator