Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


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

Posted on 2011-03-04
Medium Priority
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=\\ad.girlscouts-mvc.org\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=\\ad.girlscouts-mvc.org\gsdfs\swse

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

C:\Users\administrator\Desktop>set LogLocation=\\ad.girlscouts-mvc.org\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 2000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
A bad practice commonly found during an account life cycle is to set its password to an initial, insecure password. The Password Reset Tool was developed to make the password reset process easier and more secure.
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 …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

636 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