Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Determining what components of Microsoft Office are installed

Determining what components of Microsoft Office are installed

Scheduled Pinned Locked Moved Visual Basic
jsonhelpworkspace
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Pixa
    wrote on last edited by
    #1

    Hi all, Seeing as there's no MS Office board, I thought I might try here. Basically what I want to do is during setup is to check that all components of Microsoft Office have been installed and if not, launch Windows Installer to install the rest of the components. Doing this during setup is not a problem for me, it's just the checking of components of Microsoft Office that's the real difficulty.

    E 1 Reply Last reply
    0
    • P Pixa

      Hi all, Seeing as there's no MS Office board, I thought I might try here. Basically what I want to do is during setup is to check that all components of Microsoft Office have been installed and if not, launch Windows Installer to install the rest of the components. Doing this during setup is not a problem for me, it's just the checking of components of Microsoft Office that's the real difficulty.

      E Offline
      E Offline
      Ed Poore
      wrote on last edited by
      #2

      Don't know if it's any use but have you had a look at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\{Version}\{Application}?  I can't tell what's in here since I always install everything.  But under each {Application} node there is an InstallRoot key.


      The Welsh will always support two teams: The Welsh, and anyone playing England :)

      P 1 Reply Last reply
      0
      • E Ed Poore

        Don't know if it's any use but have you had a look at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\{Version}\{Application}?  I can't tell what's in here since I always install everything.  But under each {Application} node there is an InstallRoot key.


        The Welsh will always support two teams: The Welsh, and anyone playing England :)

        P Offline
        P Offline
        Pixa
        wrote on last edited by
        #3

        As far as I can tell, the Install Root key only contains the path to which Microsoft Office was installed. Any other ideas?

        E 1 Reply Last reply
        0
        • P Pixa

          As far as I can tell, the Install Root key only contains the path to which Microsoft Office was installed. Any other ideas?

          E Offline
          E Offline
          Ed Poore
          wrote on last edited by
          #4

          That would be correct because if you look in that directory you'll see that Word, Excel, Access, InfoPath etc are all installed there.  A possibility would be to use this registry key to get the root path.  Then check for the existance of: winword.exe    =    Word excel.exe        =    Excel msaccess.exe  =    Access infopath.exe    =    InfoPath ois.exe           =    Picture Manager etc etc Any use?  If the exe doesn't exist then presumably the application doesn't exist.


          The Welsh will always support two teams: The Welsh, and anyone playing England :)

          P 1 Reply Last reply
          0
          • E Ed Poore

            That would be correct because if you look in that directory you'll see that Word, Excel, Access, InfoPath etc are all installed there.  A possibility would be to use this registry key to get the root path.  Then check for the existance of: winword.exe    =    Word excel.exe        =    Excel msaccess.exe  =    Access infopath.exe    =    InfoPath ois.exe           =    Picture Manager etc etc Any use?  If the exe doesn't exist then presumably the application doesn't exist.


            The Welsh will always support two teams: The Welsh, and anyone playing England :)

            P Offline
            P Offline
            Pixa
            wrote on last edited by
            #5

            Just checking that Word, Excel and that lot is installed isn't quite what I want to do. If you go into Add/Remove programs can click Change on MS Office and then select add or remove components, you can see a listing of all the sub-components (ie. .NET programability support in Office 2003, or Mail Merge templates). Basically I want to check that all of this is installed during my programs installation.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups