Error when installing Microsoft Mathematics silently.

SJATechsupport
SJATechsupport used Ask the Experts™
on
Using this guide: http://www.itninja.com/software/microsoft/microsoft-mathematics-add-in-for-word-and-onenote/2-3147 I extracted the contents of the Microsoft Mathematics .exe file into a temp folder, and used msiexec to start an unintended installation, the problem that I'm having is this:

msiexec starts to run and works perfectly until it gets to 'Writing system registry values' at which point I am given the following error message.

"Could not write value AdminDisableSxS to key \Software\Microsoft\Mathematics\Standalone\4.0. Verify that you have sufficient access to that key, or contact your support personnel."

I have tried this on two separate machines, both running Windows 7 x64, one a fresh install and one existing installation.  If I run setup.exe and follow all of the prompts, Mathematics installs fine so the msi is clearly missing out on something but I can't figure out what...
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Gerwin Jansen, EE MVETopic Advisor
Most Valuable Expert 2016

Commented:
Did you try running as administrator or from an elevated cmd prompt?

Author

Commented:
Can't run the MSI as an administrator but I have tried from an elevated command prompt and no luck
Top Expert 2012
Commented:
The instructions you read are for the version from here http://www.microsoft.com/en-us/download/details.aspx?id=17786 and it runs successfully.

However when I tried the new version here: http://www.microsoft.com/en-us/download/details.aspx?id=15702, I received the same error as you did.

The MSI shows that this key is being set to the public property SXSOFF.

I then ran the setup.exe with verbose logging configured THROUGH THE REGISTRY - use the .REG file on this page: http://www.experts-exchange.com/Programming/Installation/A_5177-Installation-Logging-How-To-Create-a-Verbose-Windows-Installer-Log-and-Submit-it-With-Your-Question-Including-MSIs-That-are-INSIDE-Setup-exes.html

You do NOT have to complete the install, you can stop at the "Ready to Install Dialog" and open the MSI log as per the article instructions above.

Look for the line starting with: "           ******* CommandLine:"

In *MY* case (Win7 x64 SP1, Office 2010 x86) the setup.exe evaluated SXSOFF=0.

You should run the above to ensure the setup.exe comes up with the same answer for your configuration.

When I add SXSOFF=0 to the command line in the original article, I get a successful install.

The command line in the log also had these properties that are not specified in the article:

SKIPDXINSTALL=0 SQMOVERRIDE=0 SXSOFF=0 D3DOFF=0 HCMODE=0

It may be prudent to include them as well - *with the values From YOUR log file*.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial