Ok found Deactivate function in the API
If the product is _already_ deactivated, can i call Deactivate(true) to remove the product key
A client installs and activates a product. He then deactivates the product to use on another PC. Some time later he decides to buy another product key but cannot enter the new key as turboactivate.exe finds the old key and is unable to activate it.
Is there a way to remove a deactivated product key from a PC so that turboactivate.exe will ask for a key to be entered.
If not, could you provide a sample of code for replacing the old key with a new key and activating.
Ok found Deactivate function in the API
If the product is _already_ deactivated, can i call Deactivate(true) to remove the product key
No, but there would also be no reason to (having a product key on the machine doesn't mean it's activated).
Turboactivate.exe does not ask for a key. The user needs to enter a new key. How do they achieve this?
Well, if the key is still valid, and the key is on the system, then the TurboActivate Wizard will use that. If the key is not longer valid then you can revoke or delete it. Either way will make the key fail to activate (and thus they'll be prompted to enter another key).
You could always write your own activation dialog to change the behavior. We wrote the TurboActivate Wizard to be as intuitive as possible (meaning we won't prompt the user for a key if there's already a key on the system that is still valid -- because that also implies they have it in some other form: email, CD case, post-it-note, etc.)