dansoper
Posts: 2
Joined: Mon Feb 12, 2018 12:49 pm

Not detecting specific instance of Office 2016

Mon Feb 12, 2018 12:53 pm

We have a working installer using version 13.6. One of the Launch Conditions is "Installed Office Application" => "Microsoft Word" => Minimum version 2007.

This has worked well for us but we have a report of it refusing to install on a specific machine because Word isn't installed. This is a brand new Windows 10 machine with Office 365 pre-installed.

How do I go about debugging this?

Thanks in advance for your help.

Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Not detecting specific instance of Office 2016

Tue Feb 13, 2018 3:53 pm

Hello,

When the Word 2007 launch condition is used, we search after the following registry value:

Code: Select all

"HKLM\SOFTWARE\Microsoft\Office\12.0\Word\InstallRoot\Path"
You could search if this value exist on the machine in question.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

dansoper
Posts: 2
Joined: Mon Feb 12, 2018 12:49 pm

Re: Not detecting specific instance of Office 2016

Tue Feb 13, 2018 4:19 pm

Hi Sorin,

Thanks for your help.

That entry is not in the registry.

But as I understand it, the "12.0" checks for specifically Word 2007 whereas this customer has Word 2016. How does it detect Word 2016? From reading another post on this forum I understand there are (at least?) two types of Word 2016 installation, which have different registry keys to detect.

Thanks,

Dan

Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Not detecting specific instance of Office 2016

Tue Feb 20, 2018 9:16 am

Hello,

Our "Installed Office Application" launch condition is implemented in the following way:

First we detect the installed office version (if any). If the installed office version is older than the required office version (the one configured in "Launch Conditions" page) the setup cannot be installed.

We determine if Office 2016 is installed if the following registry value exists :
for x64 version of Office:

Code: Select all

"HKLM\SOFTWARE\Microsoft\Office\16.0\Word\InstallRoot\Path"
and

for x86 version of Office

Code: Select all

"HKLM\Wow6432Node\SOFTWARE\Microsoft\Office\16.0\Word\InstallRoot\Path"
Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”