/build/static/layout/Breadcrumb_cap_w.png

Kace K1000 - FileNotExists or equivalent argument for Custom Inventory Rules (CIR)

Hi there!

I'm having an issue figuring out how to configure my CIR in K1000, because I need to use something that does not exists, mainly File(or Folder)NotExists, in conjuncture with FileExists.

Here's the situation: In our agency, we can have either Acrobat DC Pro as a standalone software, or installed as part of a package that contains other software (like InDesign). All of my packages contain InDesign, so I wanted to use this as a basis, to create a CIR that looked something like this:

FileExists(C:\ProgramData\regit.1986-12.com.adobe\regid.1986-12.com.adobe_V7{}CreativeCloudEnt-1.0-Win-GM-MUL) AND
FileNotExists(C:\Program Files\Adobe\Adobe InDesign CC2015\InDesign.exe)

This way, I could have a fixed inventory of everyone who has only Acrobat DC Pro standalone, VS everyone who has any package containing Acrobat DC Pro. This would also serve as CIR so that the Standalone installation doesn't install over whatever package installation, and possibly ruin the serialization of the package. 

The issue I have is that well...negative conditional rules do not exist, only positive rules.

Is there a way I could be able to get this to work through CIR ?

Thanks in advance :)

3 Comments   [ + ] Show comments
  • Have you tried these lines separately to make sure they work independently? - davreh99 8 years ago
  • "FileNotExists" is not an actual CIR function I can use.
    If you read my post, I'm asking what can I do that would do something similar as "FileNotExists" would do IF it existed. - AlexPilon 8 years ago
  • Instead of CIR, why not use 2 smart labels?

    1st smart label
    Software Title contains Acrobat DC Pro AND
    Software Title does not contain InDesign

    2nd smart label
    Software Title contains Acrobat DC Pro AND
    Software Title contains InDesign? - flip1001 8 years ago

Answers (0)

Be the first to answer this question

 
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