CrossOver Support

C4 Data - CD Profile


A CD Profile has one or more CDGlobs to identify CDs that are associated with the application.

<cdprofile>...</cdprofile


CDGlobs -- list of (restricted file globs, list of regular expressions)

<cdglob><glob>...</glob><pattern>...</pattern></cdglob>

The file globs define a set of files we're looking for on the CD. If a file is found and has no associated patterns, then we consider that we have found a match.

Otherwise we then proceed to scan the content each file matched by the glob using the corresponding regular expressions. If we find matches for all the specified patterns, then the CD is a match.

Notes:
  • The advantage is that a carefully chosen combination of file globs and regular expressions lets us cut through all the CD variations. It also does not require the author to get his hands on all the CDs to get something that will work in the majority of cases.
  • It requires a good look at the content of the application CD to identify how to identify it; and then to write file globs and regular expressions that work. But we also require authors to be able to write globs for the InstalledXxx properties and quite a few others.
Last modified on 2010-02-09 10:05:39 by Aric Stewart
Are you sure you want to delete this page?
Note: Any nested pages that are under this one will be moved up one level. Any attachments tied to this page will be deleted.
Move / Rename Page
Unknown Error, unable to move!
That page exists already!
One or more of the parent pages specified in new path do not exist!
/support/wiki/ /support/wiki/c4p_DataCDDetection
Please Wait...
eyJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNTA5MDI4MzM5fQ==