How to stop an expired application from being reinstalled?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cosminstefanxp
    New Member
    • Jul 2010
    • 1

    How to stop an expired application from being reinstalled?

    Hey,

    I am trying to create an application that is installed on a specific(unique ) computer, works properly as long as the user has a license, and, after I uninstall it, make sure the guy doesn't get it back. The same problem is better exemplified in the following scenario: I want to move one client's application on a new computer, and make sure it is permanently deleted on the old one.

    So far, I have created an unique ID for each computer and everytime the application starts, it checks if the generated key is the same as the encrypted stored key (either in the registry or in a file somewhere). But what if before I delete the application (in order to move it somewhere else for example) the client makes a backup of all registry and copies all the applications files and after my "uninstallation ", he puts them back.

    Does anyone have an ideea on how could I overcome this issue? Thanks a lot!
  • fastestindian
    New Member
    • Aug 2009
    • 74

    #2
    Originally posted by cosminstefanxp
    Hey,

    I am trying to create an application that is installed on a specific(unique ) computer, works properly as long as the user has a license, and, after I uninstall it, make sure the guy doesn't get it back. The same problem is better exemplified in the following scenario: I want to move one client's application on a new computer, and make sure it is permanently deleted on the old one.

    So far, I have created an unique ID for each computer and everytime the application starts, it checks if the generated key is the same as the encrypted stored key (either in the registry or in a file somewhere). But what if before I delete the application (in order to move it somewhere else for example) the client makes a backup of all registry and copies all the applications files and after my "uninstallation ", he puts them back.

    Does anyone have an ideea on how could I overcome this issue? Thanks a lot!
    May use following steps to avoid this problem.

    1) Your application should not be start without reading from the registries.
    2) Dont only depend upon the registry entries for varification, Create a config file and store it somewhere where ur application would know.
    3) To do that you may need a script file to check.
    4) Followling link may help u in that.

    In this article I will demonstrate how to incorporate installer classes with your Visual Studio .NET msi's to handle any supporting tasks that your assemblies may need.


    Best of luck....

    Comment

    Working...