CopyMinder Knowledge Base

Browse by Category:
 
Lookup Error Number:
 
Search:
 

Glossary   |   Contact Us


Where should the .cm file be?

Views: 1422
Rating: 3
Rate It:
Print

When a protected program is run, it looks for its <protected program>.cm file in a number of places in the following order:

  1. If there is a <program name>.cm.ini file in the same folder as the protected program and the .cm.ini file contains a Path variable, then it will look for the .cm file in that path.
  2. It will look in ProgramPath, i.e. the path containing your protected program
  3. It will look in ProgramPath\cm where ProgramPath is the path containing your protected program
  4. It will look in APPDATA\DID\ProdCode\cm where APPDATA is a variable specified in the Windows Environment, did is your unique CopyMinder Developer ID and ProdCode is the Product Code you specified for this product (e.g. C:Documents and SettingsUser1Application Data\AAB\PC\cm).
  5. It will look in ALLUSERSPROFILEdidProdCodecm where ALLUSERSPROFILE is a variable specified in the Windows Environment, did is your unique CopyMinder Developer ID and ProdCode is the Product Code you specified for this product (e.g. C:ProgramData\AAB\PC\cm).

We strongly recommend that you install a protected program using the supplied CMInstall.exe utility.  This will put the .cm file in a suitable location and set up a .cm.ini file appropriately.  It will also take care of file, directory and registry access rights for you.  If you use CMInstall then you do not need to be concerned about where the .cm file is.

 


Others in this Category
   
articleI don't seem to have a CD-ROM with the CopyMinder software on it
 
articleMy computer hangs when installing the CopyMinder SDK
 
articleHow do I create a Trial Only installation?
 
articleHow do I find the .cm and .cm.log files?
 
articleWhy is a Product Key not in a Report I have produced?
 



Microcosm Ltd.

Valid XHTML 1.0    Valid CSS 2.0