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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

690 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