/build/static/layout/Breadcrumb_cap_w.png

Custom Inventory for Managed Installs

I am in the habit of always creating a custom inventory rule (typically on the executable) for Managed Installs.

This prevents an MI from re-targeting a machine that has the application, but has been updated to a later version.

Anyway, we are running in a mixed XP and Win 7 64 environment.

Typically, I use "FileExists(C:\Program Files\Example\Example.exe) to validate the app is installed.

What I need is to be able to check both "FileExists(C:\Program Files\Example\Example.exe) OR (C:\Program Files (x86)\Example\Example.exe) to validate both XP and Win 7 64 in the x86 dir.
Suggestions?

0 Comments   [ + ] Show comments

Answers (2)

Posted by: mlathrop 13 years ago
Fifth Degree Brown Belt
0
OK, read the FAQ jack [:)] I answered my own question by reading the Admin Guide, ha! Yes, OR statements work
FileExists(C:\Program Files (x86)\Microsoft Office\Office14\visio.exe) OR FileExists(C:\Program Files\Microsoft Office\Office14\visio.exe)
searches both locations for 32 bit and 64 bit OS's
Posted by: airwolf 13 years ago
Red Belt
0
Correct. You can use boolean operators in custom inventory rules.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ