prevent reinstallation - setup project visual studio
-
Hello experts. Want to create an installer from binaries. But want to disallow any re-installation of the software. How to achieve this? Thanks in advance. Regards,
// By Bhavik Shah
That's not supported by most installers, so you're probably going to have to build this yourself. That may be hard or easy, depending on the software that you're using to create the installation routine. First you'd have to check for any sign whether your software has been installed previously. You can leave a marker in the registry, but there is no guarantee that the user doesn't wipe your marker and reinstalls anyway. On install, you'd have to check whether the marker is present on the system. If it is, abort the installation and give a nice message detailing what happened, and why you're refusing the reinstall. Out of curiousity, why don't you want them to reinstall your product?
I are troll :)