Can't install 32 bit Office on 64 bit Win 7 machine using GP script

Posted on 2011-03-04
Last Modified: 2012-08-14
I have setup the script to push out Office 2010 automatically as described in the article below.

I tested this on a Windows XP SP 3 machine and it worked perfectly.

I now have a Windows 7 Professional machine and I am not able to get the script to push. I check the log and it says Fri 03/04/2011 11:30:53.55 Setup ended with error code 0, which is the same thing it said for the Windows XP machine when it installed successfully. The issue here is that Office doesn't install on the Windows 7 machine at all.

I checked RSOP and it shows the policy applied and that it was not denied. The script appears to run since I receive the log file.

Any thoughts on why Office is not installing?


Question by:JustinGSEIWI
  • 2

Author Comment

ID: 35039618
I copied the .bat file to the desktop of the windows 7 computer and ran the script locally. Below is the results.



C:\Users\administrator\Desktop>REM *********************************************

C:\Users\administrator\Desktop>REM Environment customization begins here. Modify
 variables below.

C:\Users\administrator\Desktop>REM *********************************************

C:\Users\administrator\Desktop>REM Get ProductName from the Office product's cor
e Setup.xml file, and then add "office14." as a prefix.

C:\Users\administrator\Desktop>set ProductName=Office14.PROPLUS

C:\Users\administrator\Desktop>REM Set DeployServer to a network-accessible loca
tion containing the Office source files.

C:\Users\administrator\Desktop>set DeployServer=\\\gsdfs\sw

C:\Users\administrator\Desktop>REM Set ConfigFile to the configuration file to b
e used for deployment (required)

C:\Users\administrator\Desktop>set ConfigFile=\\\gsdfs\swse

C:\Users\administrator\Desktop>REM Set LogLocation to a central directory to col
lect log files.

C:\Users\administrator\Desktop>set LogLocation=\\\gsdfs\sws

C:\Users\administrator\Desktop>REM *********************************************

C:\Users\administrator\Desktop>REM Deployment code begins here. Do not modify an
ything below this line.

C:\Users\administrator\Desktop>REM *********************************************

C:\Users\administrator\Desktop>IF NOT "C:\Program Files (x86)" == "" (goto ARP64
 )  else (goto ARP86 )

C:\Users\administrator\Desktop>reg query HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432NODE

    Publisher    REG_SZ    Microsoft Corporation
    CacheLocation    REG_SZ    C:\MSOCache\All Users
    Contact    REG_SZ
    Comments    REG_SZ
    DisplayIcon    REG_SZ    C:\Program Files (x86)\Common Files\Microsoft Share
d\OFFICE14\Office Setup Controller\OSETUP.DLL,1
    DisplayName    REG_SZ    Microsoft Office Professional Plus 2010
    DisplayVersion    REG_SZ    14.0.4763.1000
    HelpLink    REG_SZ
    HelpTelephone    REG_SZ
    InstallLocation    REG_SZ    C:\Program Files (x86)\Microsoft Office
    ModifyPath    REG_SZ    "C:\Program Files (x86)\Common Files\Microsoft Share
d\OFFICE14\Office Setup Controller\setup.exe" /modify PROPLUS /dll OSETUP.DLL
    NoElevateOnModify    REG_DWORD    0x0
    NoModify    REG_DWORD    0x0
    NoRemove    REG_DWORD    0x0
    NoRepair    REG_DWORD    0x1
    PackageRefs    REG_MULTI_SZ    AccessMUI.en-us\0InfoPathMUI.en-us\0ExcelMUI.
    ProductCodes    REG_MULTI_SZ    {90140000-0011-0000-0000-0000000FF1CE}\0{901
    SkuComponents    REG_MULTI_SZ    C:\Program Files (x86)\Common Files\Microso
ft Shared\OFFICE14\Office Setup Controller\Publisher.en-us\setup.xml\0C:\Program
 Files (x86)\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\Exce
l.en-us\setup.xml\0C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE14
\Office Setup Controller\Office.en-us\setup.xml\0C:\Program Files (x86)\Common F
iles\Microsoft Shared\OFFICE14\Office Setup Controller\Proofing.en-us\setup.xml\
0C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE14\Office Setup Cont
roller\Groove.en-us\setup.xml\0C:\Program Files (x86)\Common Files\Microsoft Sha
red\OFFICE14\Office Setup Controller\OneNote.en-us\setup.xml\0C:\Program Files (
x86)\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\Outlook.en-u
s\setup.xml\0C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE14\Offic
e Setup Controller\InfoPath.en-us\setup.xml\0C:\Program Files (x86)\Common Files
\Microsoft Shared\OFFICE14\Office Setup Controller\Access.en-us\setup.xml\0C:\Pr
ogram Files (x86)\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller
\Office64.en-us\setup.xml\0C:\Program Files (x86)\Common Files\Microsoft Shared\
OFFICE14\Office Setup Controller\Word.en-us\setup.xml\0C:\Program Files (x86)\Co
mmon Files\Microsoft Shared\OFFICE14\Office Setup Controller\PowerPoint.en-us\se
tup.xml\0C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE14\Office Se
tup Controller\PROPLUS\setup.xml
    SystemComponent    REG_SZ
    UninstallString    REG_SZ    "C:\Program Files (x86)\Common Files\Microsoft
Shared\OFFICE14\Office Setup Controller\setup.exe" /uninstall PROPLUS /dll OSETU
    URLInfoAbout    REG_SZ
    URLUpdateInfo    REG_SZ
    ShellUITransformLanguage    REG_SZ    en-US
    SPPSkuId    REG_MULTI_SZ    6F327760-8C5C-417C-9B61-836A98287E0C
    ProductID    REG_SZ    82503-018-0000106-48707

C:\Users\administrator\Desktop>if NOT 0 == 1 (goto End )



Open in new window

LVL 51

Accepted Solution

Netman66 earned 500 total points
ID: 35047723
The script did exactly what it was supposed to.

It found information in the Uninstall registry key relating to this product.

It logged it and ended quietly.


Author Comment

ID: 35057042
I did notice when I went to install it manually that it just asked for a product key. So this is because Office 2010 was already installed.

Thank you!


Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question