Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Bit version of Microsoft Office and Install Program  (Read 7426 times)

0 Members and 1 Guest are viewing this topic.

col. sanders

    Topic Starter


    Rookie

    • Experience: Beginner
    • OS: Unknown
    Bit version of Microsoft Office and Install Program
    « on: December 10, 2014, 10:55:55 AM »
    Here's my situation, trying to write a batch file that will show me the bit version of Office installed, not the OS necessarily, and choose the bit version of Lync to install.  Any Ideas?  Thanks in advance.

    Squashman



      Specialist
    • Thanked: 134
    • Experience: Experienced
    • OS: Other
    Re: Bit version of Microsoft Office and Install Program
    « Reply #1 on: December 10, 2014, 11:15:39 AM »
    All 32bit programs installed on a 64 bit Windows OS will be in the Program Files(x86) folder. 
    64 bit programs will just be in the Program Files folder on a 64 bit version of Windows.

    Salmon Trout

    • Guest
    Re: Bit version of Microsoft Office and Install Program
    « Reply #2 on: December 10, 2014, 11:37:40 AM »
    Only Office 2010 (Office 14.0) and Office 2013 have shipped in 32 and 64 bit versions.

    Suggestion:

    If HKLM\Software\WOW6432Node exists then Windows is 64-bit.
    If HKLM\Software\WOW6432Node\Microsoft\Office exists, then Office is 32-bit.
    If HKLM\Software\WOW6432Node\Microsoft\Office does not exist, but HKLM\Software\Microsoft\Office does exist, then Office is 64-bit.
    If HKLM\Software\WOW6432Node does not exist, then Windows and Office are 32-bit.

    Use req query and errorlevel test to establish OS and Office bitness.

    col. sanders

      Topic Starter


      Rookie

      • Experience: Beginner
      • OS: Unknown
      Re: Bit version of Microsoft Office and Install Program
      « Reply #3 on: December 10, 2014, 02:32:12 PM »
      This doesn't seem to be working correctly because I have both of the below entries on more than one machine I am running this on.

      If HKLM\Software\WOW6432Node\Microsoft\Office exists, then Office is 32-bit.
      If HKLM\Software\WOW6432Node\Microsoft\Office does not exist, but HKLM\Software\Microsoft\Office does exist, then Office is 64-bit.


      col. sanders

        Topic Starter


        Rookie

        • Experience: Beginner
        • OS: Unknown
        Re: Bit version of Microsoft Office and Install Program
        « Reply #5 on: December 12, 2014, 10:30:26 AM »
        Good article, but it still is not the same on every machine as listed in the article.  I'm not sure if there is a common way to tell on a Windows 7 Pro box if it has a x86 or x64 Office install.

        Salmon Trout

        • Guest
        Re: Bit version of Microsoft Office and Install Program
        « Reply #6 on: December 12, 2014, 10:51:58 AM »
        Surely if you first check the bitness of the OS (if it's 32 bit you now know you have a 32 bit Office install) and if it's 64 bit then look in %ProgramFiles% (64 bit) or %ProgramFiles(x86)% (32 bit) for the Office folder (Office, Office10, Office11, Office12, Office14 or Office15) or else find the path of some common Office executable file such as Winword.exe or Excel.exe, you have your answer? Or am I missing something here? if this is some corporate thing, surely you know what your machines have installed anyhow?


        « Last Edit: December 12, 2014, 11:30:29 AM by Salmon Trout »

        patio

        • Moderator


        • Genius
        • Maud' Dib
        • Thanked: 1769
          • Yes
        • Experience: Beginner
        • OS: Windows 7
        Re: Bit version of Microsoft Office and Install Program
        « Reply #7 on: December 12, 2014, 11:21:43 AM »
        How's Zeus doin lately ? ?

                           :P
        " Anyone who goes to a psychiatrist should have his head examined. "

        Salmon Trout

        • Guest
        Re: Bit version of Microsoft Office and Install Program
        « Reply #8 on: December 12, 2014, 11:34:37 AM »
        How's Zeus doin lately ? ?

        He has been involved in a controversy of a modern rather than ancient kind. He is depicted as a bull, the form he took when raping Europa, on the Greek 2-euro coin and on the United Kingdom identity card for visa holders. Mary Beard, Professor of Classics at Cambridge University, has criticised this for its apparent celebration of rape.

        patio

        • Moderator


        • Genius
        • Maud' Dib
        • Thanked: 1769
          • Yes
        • Experience: Beginner
        • OS: Windows 7
        Re: Bit version of Microsoft Office and Install Program
        « Reply #9 on: December 12, 2014, 11:40:26 AM »
        Just don't worship Mary Beard...sounds like every Liberal College Proff here in the states...

        I won't get started.
        " Anyone who goes to a psychiatrist should have his head examined. "

        col. sanders

          Topic Starter


          Rookie

          • Experience: Beginner
          • OS: Unknown
          Re: Bit version of Microsoft Office and Install Program
          « Reply #10 on: December 12, 2014, 11:42:40 AM »
          Surely if you first check the bitness of the OS (if it's 32 bit you now know you have a 32 bit Office install) and if it's 64 bit then look in %ProgramFiles% (64 bit) or %ProgramFiles(x86)% (32 bit) for the Office folder (Office, Office10, Office11, Office12, Office14 or Office15) or else find the path of some common Office executable file such as Winword.exe or Excel.exe, you have your answer? Or am I missing something here? if this is some corporate thing, surely you know what your machines have installed anyhow?

          This will be a Lync rollout on about 300 machines.  The majority, about 85%, are x64 OS's.  But we don't know if the Office install is always x86 or x64.  Also, Office does not always install in ProgramFiles or ProgramFilesx86.  A lot of times it installs in the ProgramData folder, which does not determine if it's a x86 or x64.  One more thing, I've had instances where a x86 Office installs in the ProgramFiles directory.

          Salmon Trout

          • Guest
          Re: Bit version of Microsoft Office and Install Program
          « Reply #11 on: December 12, 2014, 11:50:33 AM »
          Just don't worship Mary Beard...sounds like every Liberal College Proff here in the states...

          I won't get started.

          Well, I am a liberal, and I am opposed to misogyny (like any sane person ought to be) but I don't really think Zeus needs to be dragged into the argument. Maybe in 50 years people will think differently.

          Salmon Trout

          • Guest
          Re: Bit version of Microsoft Office and Install Program
          « Reply #12 on: December 12, 2014, 12:00:30 PM »
          What version of Lync are you planning to use? The 64-bit Lync 2010 installation works with the 32-bit version of Microsoft Office. If you have a 64-bit machine with a 32-bit Office 2010, you can use the 64-bit Lync Installer. The 64-bit Lync client installation will install the 32-bit version of the Online Meeting Add-In for Lync 2010 for Outlook. The Lync client itself is actually only 32-bit – the 64-bit download is a 64-bit installer wrapping the 32-bit client.

          See here

          http://blog.insidelync.com/2012/02/top-10-faq-for-planning-a-lync-2010-client-deployment/




          foxidrive



            Specialist
          • Thanked: 268
          • Experience: Experienced
          • OS: Windows 8
          Re: Bit version of Microsoft Office and Install Program
          « Reply #13 on: December 12, 2014, 12:40:48 PM »
          A lot of times it installs in the ProgramData folder

          That has got to be because the admin chose to install it there, right?


          Squashman



            Specialist
          • Thanked: 134
          • Experience: Experienced
          • OS: Other
          Re: Bit version of Microsoft Office and Install Program
          « Reply #14 on: December 12, 2014, 12:43:07 PM »
          That has got to be because the admin chose to install it there, right?
          Has to be.  It does not default to that.