Error when installing Microsoft Mathematics silently.

SJATechsupport used Ask the Experts™
Using this guide: 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...
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

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


Can't run the MSI as an administrator but I have tried from an elevated command prompt and no luck
Top Expert 2012
The instructions you read are for the version from here and it runs successfully.

However when I tried the new version here:, 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:

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:


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