Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. exe creation for single time installation problem in .net for window application

exe creation for single time installation problem in .net for window application

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharphelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jvishal_5
    wrote on last edited by
    #1

    I have created window application. I want to create exe of this project which can be used only once for one installation. Once it is installed it should not be used for another pc.

    hi

    D A 2 Replies Last reply
    0
    • J jvishal_5

      I have created window application. I want to create exe of this project which can be used only once for one installation. Once it is installed it should not be used for another pc.

      hi

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Nearly impossible and not a good idea. You cannot prevent the installation from happening multiple times on multiple PC's unless each PC is connected to the Internet and the installer checks in with a licensing server to see if it's already been installed. If so, then the installer has to abort itself. But, this is a bad idea. Why? Because what if the end user has to reinstall the software because of a system failure or some kind?? You just lost a customer by forcing them to jump through hoops to reinstall software they already had running.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008
      But no longer in 2009...

      1 Reply Last reply
      0
      • J jvishal_5

        I have created window application. I want to create exe of this project which can be used only once for one installation. Once it is installed it should not be used for another pc.

        hi

        A Offline
        A Offline
        Anshul R
        wrote on last edited by
        #3

        Identify the system with any unique identifier like IP Address or MAC address or anything and check for it in a database you have created(the program adds the identification to it everytime it SUCCESSFULLY installs) But this is not a good idea :^)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups