aicraig
Posts: 10
Joined: Wed Apr 13, 2011 6:32 pm

Launch condition reverts to excel 2010

In Launch Conditions under Software Launch Conditions Tab, I have checked the box "Installed Office Application" and selected Microsoft Excel. I want Minimum Version to be 2007, but each time I go to another tab in AI, and then return to this location, the Minimum Version has reverted back to 2010. This is true even if I save the file while showing 2007.

Do you have any help on this?

Thanks,

Craig
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Launch condition reverts to excel 2010

Hello,

Indeed I can confirm this. This behavior is caused by a bug in Advanced Installer. Thank you for bringing it to our attention, I have discussed the matter with the development team and we will include the fix in a future version.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
aicraig
Posts: 10
Joined: Wed Apr 13, 2011 6:32 pm

"Launch condition reverts to excel 2010" bug fix is worse

I just downloaded 8.1.2 and it appears your "fix" may have broken it and made things worse such that it now impacts the installer.

Previously, the launch condition reverted to minimum version Excel 2010 on the screen, but as long as I changed it to minimum version Excel 2007 and re-built the setup before leaving that screen, it would accept the Excel 2007 as a launch condition and I could install my software on both Excel 2007 and Excel 2010 machines.

So, I used your update 8.1.2 and changed the minimum version to Excel 2007. It sticks, so you fixed that, but when I build the package and install it on an Excel 2010 machine, here is the error message from the installer:

"Software name cannot be installed on systems without Microsoft Excel 2007 or higher."

Again this is on an Excel 2010 machine, so this means I can't install my software on any machines with Excel 2010, which is a big deal.

The software installs successfully on Excel 2007.

If you cant fix it immediately, could you tell me where to get the previous version before this upgrade because I installed over the previous version.

Thanks,

Craig
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Launch condition reverts to excel 2010

Hi Craig,

Can you please send us the .AIP (project) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
aicraig
Posts: 10
Joined: Wed Apr 13, 2011 6:32 pm

Re: Launch condition reverts to excel 2010

I just sent the requested files it to your support email address.

Thanks for looking into it,

Craig
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Launch condition reverts to excel 2010

Hi Craig,

I have tested your project on a machine with Office 2010 installed and it seems everything works as expected. You can perhaps verify using regedit on the machine manifesting the problem if the "Path" registry value exists in the following registry location:

Code: Select all

HKLM\SOFTWARE\Microsoft\Office\14.0\Excel\InstallRoot\
Please also try to install the package on other machines that have Office 2010 installed and see the result.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
aicraig
Posts: 10
Joined: Wed Apr 13, 2011 6:32 pm

Re: Launch condition reverts to excel 2010

Thanks Mihai,

I sent you an e-mail with a screenshot. For blog purposes, here is my what my e-mail said:

Attached is a picture showing the install failure message on top of the regedit window showing the registry path you mention in your blog post does indeed exist.

This failure is on a Win 7-64 bit machine with Excel 2010 64 bit.

I successfully installed on a Win 7-64 bit machine with Excel 2010 32 bit. Here is the registry path for that configuration:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\14.0\Excel\InstallRoot

Perhaps your successful install was on that configuration or something else? Nevertheless, it fails at least on 64-OS/64-Excel and perhaps others.

Please help me with this. Again, the install worked on this machine before your recent update.

Thanks,

Craig

P.S. I forgot to mention that this failure is on a clean machine built only for testing my installation packages, so it only has Windows and Office installed...Nothing else.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Launch condition reverts to excel 2010

Hello Craig,

This behavior is caused by a bug in Advanced Installer which will be fixed in the next release. Thank you for bringing it to our attention.

Meanwhile as a workaround please follow these steps:
  • add a 64-bit Excel 2010 search in registry location from the Search Page named

    Code: Select all

    OFFICE_2010_X64_SEARCH
  • make sure the above search has the "Search the 64-bit portion of the registry" option enabled
  • using the Table Editor, in the LaunchCondition table change the condition to

    Code: Select all

    AI_OFFICE2007_ACCESS_SEARCH OR AI_OFFICE2010_ACCESS_SEARCH OR OFFICE_2010_X64_SEARCH
Let us know how this turned out.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
aicraig
Posts: 10
Joined: Wed Apr 13, 2011 6:32 pm

Re: Launch condition reverts to excel 2010

Mihai,

I believe I did the workaround you said and it still failed.

You have my package, so would you mind making the changes you stated and sending it back to me so I can see what I did wrong?

Also, would you give me a link to the previous version (I guess it was 8.1.1) because I know it worked, just in case this workaround fails when I receive it from you? I am under a deadline.

Thanks,

Craig
aicraig
Posts: 10
Joined: Wed Apr 13, 2011 6:32 pm

Re: Launch condition reverts to excel 2010

Mihai,

I made the mistake of not naming the registry search OFFICE_2010_X64_SEARCH as you said. I fixed that, and it works on my 64 bit Excel 2010 machine, but now I get the same message on the 32 bit Excel 2010 machine. So, what else needs to change in the workaround? Could you please include that in the package you return to me?

Thanks for your help,

Craig
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Launch condition reverts to excel 2010

Hello Craig,

The bug I mentioned was that the launch condition did not search for the 64-bit version of Office 2010. This behavior may be related something else.

Please send us the latest .AIP (project) and verbose log of the installation to support at advancedinstaller dot com so we can investigate them.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
aicraig
Posts: 10
Joined: Wed Apr 13, 2011 6:32 pm

Re: Launch condition reverts to excel 2010

Mihai,

I sent you the files.

My guess is that the problem is in your workaround. The package installed fine on the Excel 32 bit 2010 machine before the workaround.

BTW, why are you having me search for Access in the workaround. This is an Excel issue. Just curious.

Craig
aicraig
Posts: 10
Joined: Wed Apr 13, 2011 6:32 pm

Re: Launch condition reverts to excel 2010

Hi Mihai,

I think your table editor ACCESS search was indeed the issue in your workaround. I changed it to the following and it seems to work.

Code: Select all

AI_OFFICE2007_EXCEL_SEARCH OR AI_OFFICE2010_EXCEL_SEARCH OR OFFICE_EXCEL_2010_X64_SEARCH
Regards,

Craig

Return to “Common Problems”