tlentine
Posts: 10
Joined: Mon Apr 27, 2009 10:14 pm

Software Launch Condition: Office 2003, 2007, or 2010

My understanding is that if I use the predefined launch conditions for both Office 2003 and 2007 application (in my case Microsoft Access) the resulting behavior is that if either the 2003 version or 2007 version is installed my installer is allowed to continue as described in this post:
http://www.advancedinstaller.com/forums ... ion#p30749

I would like to augment this by adding Office 2010 to the mix. That is to say, I want my installer to proceed if Access 2003 or 2007 or 2010 is installed on the target machine.

If I create a search condition to look for the Access 2010 registry key and create a custom launch condition, will this condition be evaluated separately from the predefined launch condition for Access 2003 & 2007? If so, how might I be able to achieve the behavior I am looking for?

Thanks in advance
CiprianComsa
Posts: 110
Joined: Thu Aug 19, 2010 10:11 am
Contact: Website

Re: Software Launch Condition: Office 2003, 2007, or 2010

Hi,
My understanding is that if I use the predefined launch conditions for both Office 2003 and 2007 application (in my case Microsoft Access) the resulting behavior is that if either the 2003 version or 2007 version is installed my installer is allowed to continue
Yes , is correct. Checking both options "Installed Office 2003 Application"(Access) and "Installed Office 2007 Application"(Access) require the user to have Office 2007 or Office 2003 installed, not both.
If I create a search condition to look for the Access 2010 registry key and create a custom launch condition, will this condition be evaluated separately from the predefined launch condition for Access 2003 & 2007?
If you create a custom launch condition base on search result for Access 2010 this condition will be evaluated separately by the predefined launch condition. Because of that, the MSI package will run only if the user has Access 2010 and one of version Access 2003 or Access 2007. In your case, the behavior will be similar to having a condition like (Access2007 OR Access2003) AND Access2010.
My suggestion is to create a search for each version of Access and use all results to make a custom launch condition like : Access2007 OR Access2003 OR Access2010.

Best regards,
Ciprian
__________________________________________________________________________________________________________________________________________________
Ciprian Comsa
Advanced Installer Team
http://www.advancedinstaller.com/
Ciprian Comsa - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”