/bundles/itninjaweb/img/Breadcrumb_cap_w.png
Hi frnds,

I want to install an msi only if a client system has office 2003 , please suggest how we set the condition to msi..
0 Comments   [ - ] Hide Comments

Comments

Please log in to comment

Community Chosen Answer


Answers

2
Hi jaheer,

You need to use the System search tables....Appsearch,LaunchCondition...

Appsearch table:

Property=WINWORD
Signature_=FileSearchWinwordEXE

Drlocator table:

Signature_=FileSearchWinwordEXE
Path= (path to winword.exe)..E.g [programfilesfolder]\Microsoft office\OFFICE11

Signature table:

Signature=FileSearchWinwordEXE
Filename=WINWORD.exe

LaunchCondition table:

Condition=WINWORD (same value as in Appsearch table)
Description= [ProductName] requires Microsoft Office 2003.Please Install Microsoft office 2003 and then run setup.

reagrds,
Mayur
Answered 08/22/2011 by: mayur_mak
Senior Purple Belt

Please log in to comment
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

0
I'd be wary about searching for explicit elements of Office (I've seen plenty of instances where only, say, Excel is installed) and wouldn't search the [ProgramFilesFolder] at all, as users have a habit of installing apps in non-standard locations. Of course, if this is for "internal" consumption, you'll probably be OK.

Search instead for the relevant Office ProductCode in HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall. Remember to search for Standard and Professional, as they have different ProductCodes.
Answered 08/23/2011 by: VBScab
Red Belt

Please log in to comment
0
Look also at your application distribution suite. If you have Office in there as one of your distributions, you can have its absence be a prerequisite for the install.
Answered 08/23/2011 by: Arminius
Second Degree Green Belt

Please log in to comment