I am finishing up the copy protection for my program. The basic idea: I have a “preferences” file, that works in conjunction with my plugin. The preferences file will be used to store the user info + the key information (the user provides a path to a keyfile when first opening the plugin, that has this info, and the info will be copied into the preferences file). Each time the plugin is initialized, it checks this preferences file to make sure everything is kosher.
Where should this file live? On the Mac, I had presumed /Library/Application Support/ValhallaDSP/[myPluginName], but there might be some permissions issues. Any other good recommended locations for this type of file? How about for Windows? Ideally, it would work on Win XP / Vista / 7.
Should the plugin be packaged in an installer, or should it be “self-installing”? In other words, the plugin could look for the preferences file when it is first opened, and if that file isn’t there, it could create a blank preferences file, then prompt the user to provide the path to the keyfile. For that matter, my RTAS plugin could write the initial presets to /Library/Application Support/Digidesign/Plug-In Settings - but there might be a permissions issue. What do y’all recommend? Packagemaker/Nullsoft Scriptable Installer, or building the “installer” into the AU/VST/RTAS itself?