I am writing a free version of the application and want to check if the user already has a non-free version installed, and print a message whose contents depend on the results of the installation check ... does anyone know if this is possible?
The closest I came to a decision was to use the CFPreferencesSetValue API with kCFPreferencesAnyUser / kCFPreferencesCurrentHost pairing ... I have not tried it, but based on the documentation it seems possible.
however, in my specific situation, this API will not be able to solve my problem because I want to check for an application that I wrote 4 months ago that did not write any data to the CFPrefs registry ... because at that time I did not know about it and did not foresee the situation ... the only way CFPrefs can help me is in future applications now that I know that it exists :)
so I wonder if there are other ways to do this? any help would be appreciated :)
source
share