Microsoft Excel Minimum Check - Advanced Installer Community
gj1118
Posts: 4
Joined: Thu Mar 07, 2013 5:54 pm

Microsoft Excel Minimum Check

Hi ,

During the course of my installation I would like to make sure that MS-Excel is installed ( 2007 or higher) on the client machine where my application is being installed . To achieve this I have done something like this
Launch Conditions | Installed Office Application | Select Microsoft Excel | Minimum Version 2007 .

However as soon as I launch my installer it fails because it cannot find Microsoft Excel 2007 (because its not installed) . On the machine where I am installing , I have Microsoft Excel 2010 installed.

Is there something else that I am missing ?

Please suggest .

Thanks and Regards
Gagan Janjua
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Microsoft Excel Minimum Check

Hi Gagan and welcome to Advanced Installer forums.

Thank you for your interest in Advanced Installer.

I tested your scenario, but I can't reproduce the behavior. Can you please send us the .AIP (project file) and a simple installation package that reproduces the problem so we can investigate them?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Microsoft Excel Minimum Check

Hello,

This was fixed in version 10.7 of Advanced Installer released on November 11, 2013.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
TOD
Posts: 14
Joined: Tue Dec 03, 2013 10:48 pm

Re: Microsoft Excel Minimum Check

HI,
i encountera similar issue, but with Word 2007 test in launch conditions.
I use the 10.7.1 version of Advanced Installer and i have Office 2013 installed, but as soon as I launch my installer, it fails because it cannot find Microsoft Word 2007.
Could you take a look at this issue, please?

Thanks in advance.
Regards,

TOD
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Microsoft Excel Minimum Check

Hi Tod and welcome to Advanced Installer forums.

We found that this problem appears only if a Microsoft Office application was installed on a machine, but it was never launched on that machine. When that Office application is launched for the first time, it writes to the registry the entries that Advanced Installer's launch conditions are searching for and then everything works correctly.

Can you make sure that the Microsoft Word application was launched at least once on that machine and test the launch conditions again?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
TOD
Posts: 14
Joined: Tue Dec 03, 2013 10:48 pm

Re: Microsoft Excel Minimum Check

Hi,
i use MS Word everydau, so i don't think that could be the source of the problem.
What registry key are you looking for? (so I check its presence)

Regards,

TOD
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Microsoft Excel Minimum Check

Hi Tod,

I tested your scenario, but I couldn't reproduce the behavior. Can you please tell me what Operating System you have on your machine and also what Microsoft Word application (32bit or 64bit)?

The registry entries that are searched when the "Microsoft Word 2007" predefined launch condition is enabled are written below:
  • SOFTWARE\Microsoft\Office\12.0\Word\InstallRoot\Path
    SOFTWARE\Microsoft\Office\14.0\Word\InstallRoot\Path
    SOFTWARE\Wow6432Node\Microsoft\Office\14.0\Word\InstallRoot\Path
    SOFTWARE\Microsoft\Office\15.0\Word\InstallRoot\Path
    SOFTWARE\Wow6432Node\Microsoft\Office\15.0\Word\InstallRoot\Path
At least one of them should exist on the machine. Can you please verify and tell us which of them exist on your machine?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
TOD
Posts: 14
Joined: Tue Dec 03, 2013 10:48 pm

Re: Microsoft Excel Minimum Check

My OS is Windows 8 and i have MS Word 2013 64 bits.
On my machine the only existing entry is :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\15.0\Word\InstallRoot

Don't you think the problem could come from the presence of the key in HKLM and not in HKCU?

Thanks again for helping me.

Regards,

TOD
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Microsoft Excel Minimum Check

Hi TOD,

I tested the scenario in the same environment as you and I still couldn't reproduce the behavior. Does the "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\15.0\Word\InstallRoot" registry key contain the "Path" value in it on your machine? If so, it should be found and the launch condition should be passed.
Don't you think the problem could come from the presence of the key in HKLM and not in HKCU?
No, the presence of the key in the "HKLM" section is correct and it shouldn't cause any problem.

Can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them? Also, can you reproduce the problem on multiple clean machines?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Microsoft Excel Minimum Check

Hi TOD,

While investigating your project I found that this problem appears when the "Check predefined launch conditions before searching for prerequisites" option is checked in the Prerequisites page, when this option is unchecked it works correctly.

This seems to be an Advanced Installer issue. A fix will be available in a future version of Advanced Installer, thank you for bringing it to our attention.

Unfortunately, the only solution is to uncheck that option until a fixed version of Advanced Installer will be released.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
TOD
Posts: 14
Joined: Tue Dec 03, 2013 10:48 pm

Re: Microsoft Excel Minimum Check

Thank you for your response.
I'm still trying AI for a few days, but I'll probably buy it anyway, and i'll wait for the correction.
Maybe my Christmas gift? ;)

Best regards,

TOD
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Microsoft Excel Minimum Check

Hi TOD,

I'm glad that you like Advanced Installer and plan to buy it.

Usually, we release a new version of the product each month. Advanced Installer 10.8 is almost ready and it should be released on the next week, but unfortunately we cannot fix this problem in that version.

Most likely, the fix will be available in the version that will come after 10.8 and it should be released right after the holiday.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Microsoft Excel Minimum Check

Hello,

This was fixed in version 10.9 of Advanced Installer released on January 23, 2014.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”