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 7427 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.

          Salmon Trout

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

          A slight terminology difference - in the US a "professor" is title used by just about any tenured lecturer with a Doctor's degree who teaches at a university or four-year college. In Britain/British Commonwealth/European universities, a professor is a senior academic and the title "professor" is reserved only for the highest academic rank at a university. Mary Beard is a professor at Cambridge and thus one of the leading academics in that field in the country, indeed, the world.

          patio

          • Moderator


          • Genius
          • Maud' Dib
          • Thanked: 1769
            • Yes
          • Experience: Beginner
          • OS: Windows 7
          Re: Bit version of Microsoft Office and Install Program
          « Reply #16 on: December 13, 2014, 04:27:50 PM »
          The requirements for Professer status are pretty much the same here in the states...
          " Anyone who goes to a psychiatrist should have his head examined. "

          Salmon Trout

          • Guest
          Re: Bit version of Microsoft Office and Install Program
          « Reply #17 on: December 13, 2014, 05:18:51 PM »
          The requirements for Professer status are pretty much the same here in the states...

          Wikipedia:

          "A professor is a scholarly teacher; the precise meaning of the term varies by country. [...]  In most Commonwealth nations, as well as northern Europe, professor is reserved only for the highest academic rank at a university. In the United States and Canada, the title of professor is granted to a larger percentage, about a quarter, of scholars with doctorate degrees (typically Ph.Ds) or equivalent qualifications who teach in four-year colleges and universities, and is used in the titles assistant professor and associate professor, which are not considered professor-level positions in many other countries."

          Are you saying this is wrong? Are you sure about this? My cousin is a "Professor" at a college in Colorado but over here in the UK he would just be a "lecturer". In the UK, in a university department, typically there will be only one professor, the academic head, formally addressed as e.g. "Professor Smith", e.g. the Lucasian Professor of Mathematics at Cambridge University has been Stephen Hawking since 1980, the post was previously held by (among others)  Isaac Newton, Joseph Larmor, Charles Babbage, George Stokes and Paul Dirac.


          patio

          • Moderator


          • Genius
          • Maud' Dib
          • Thanked: 1769
            • Yes
          • Experience: Beginner
          • OS: Windows 7
          Re: Bit version of Microsoft Office and Install Program
          « Reply #18 on: December 15, 2014, 07:56:23 AM »
          I stand corrected...you are correct.
          " 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 #19 on: December 15, 2014, 01:16:42 PM »
            I think I want to go about this a different way, I'll go ahead and try to install both x64 and x86, but is there a way to "click" in a bat form, the ok button on an error message?



            [attachment deleted by admin to conserve space]

            foxidrive



              Specialist
            • Thanked: 268
            • Experience: Experienced
            • OS: Windows 8
            Re: Bit version of Microsoft Office and Install Program
            « Reply #20 on: December 15, 2014, 01:46:37 PM »
            When an installation file like this is being launched in a batch file, it usually has switches on the command line to control prompting.

            Lemonilla



              Apprentice

            • "Too sweet"
            • Thanked: 70
            • Computer: Specs
            • Experience: Experienced
            • OS: Windows 7
            Re: Bit version of Microsoft Office and Install Program
            « Reply #21 on: December 15, 2014, 02:00:10 PM »
            If you can't get it done with switches, you could employ vbs as that has a button pressing function.
            Quote from: patio
            God Bless the DOS Helpers...
            Quote
            If it compiles, send the files.

            col. sanders

              Topic Starter


              Rookie

              • Experience: Beginner
              • OS: Unknown
              Re: Bit version of Microsoft Office and Install Program
              « Reply #22 on: December 15, 2014, 02:58:06 PM »
              Good Deal man, I figured it out with a vbs.  I appreciate it all.