launch condition Either MS word 2003 or MS word 2007? - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

ai2010
Posts: 4
Joined: Mon Jun 07, 2010 7:21 am

launch condition Either MS word 2003 or MS word 2007?

How can i specify or put a check in launch condition in Advanced installer 7.6.1 that checks for whether Word 2003 or Word 2007 is installed?

I checked in the Software Launch condition, it is Word 2003 AND word 2007 installed condition?

I want to check for the presence of either of version?

An example or steps would be great.

Expecting a quick reply!

Thanks in advance.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: launch condition Either MS word 2003 or MS word 2007?

Hello and welcome to Advanced Installer Forums,

Checking both checkboxes will require the user to have either Office programs installed, not both.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
ai2010
Posts: 4
Joined: Mon Jun 07, 2010 7:21 am

Re: launch condition Either MS word 2003 or MS word 2007?

Thanks, verified and checked. It checks for either condition. Solved this.

Also, for checking Office 2010, i have edited aip file to include registry key for Office 2010, will it work? can you confirm.

Second query:
As i mentioned in my query, i have mentioned the "search for respective registry key for office 2003/2007." As following:
1. Search for Retrieve the raw value of the key value (SEARCH_OFFICE2007)
2. in expression i mentioned ( NOT SEARCH_OFFICE2007 ) .

This does not check for the mentioned rgistry key, can you tell me the reason?
Do i need to configure or do more in Advanced installer?
ai2010
Posts: 4
Joined: Mon Jun 07, 2010 7:21 am

Re: launch condition Either MS word 2003 or MS word 2007?

Can some one explain me how to execute Custom launch condition?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: launch condition Either MS word 2003 or MS word 2007?

Hi,
Also, for checking Office 2010, i have edited aip file to include registry key for Office 2010, will it work? can you confirm.
Yes, this should work if it's configured correctly. Basically, you need a search for Office for 2010 and a launch condition which uses this search.
This does not check for the mentioned rgistry key, can you tell me the reason?
I'm not sure how you configured your project. Can you please send us the .AIP (project) file to support at advancedinstaller dot com so we can investigate it?
Can some one explain me how to execute Custom launch condition?
Custom launch conditions are executed automatically. You can read more about them here.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ai2010
Posts: 4
Joined: Mon Jun 07, 2010 7:21 am

Re: launch condition Either MS word 2003 or MS word 2007?

Thanks for reply,

However, i checked, when i put the Check for registry key, as mentioned in my last posts in "Custom Launch condition", and log the msi install details using "msiexec /l*", the log does not specify any success/failure of check for registry key for Office 2003/Office 2007!
Whereas, if i check the Software launch condition (office 2003/2007), it checks and return the appropriate error codes in the log file?

you can check and verify by putting the registry keys for office 2003/2007 keys in custom and as mentioned check for raw values, to see the desired result i am referring to.

I have now resolved the issue by selecting Software launch condition, but the issue remains that Custom launch condition are not being checked.

If possible, can you generate a sample aip file for checking in registry for Office 2003/2007 and upload somewhere on net? Or atleast paste the appropriate xml code of the aip file affected?

Thanks for helping this.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: launch condition Either MS word 2003 or MS word 2007?

Hi,

Custom launch conditions should be evaluated. I'm not sure why you are encountering this behavior. Can you please send us the .AIP (project) file with the problem to support at advancedinstaller dot com so we can investigate it?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”