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. C#
  4. Write application version and installation path to registry

Write application version and installation path to registry

Scheduled Pinned Locked Moved C#
windows-adminhelpannouncementworkspace
4 Posts 2 Posters 1 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.
  • S Offline
    S Offline
    sumit7034
    wrote on last edited by
    #1

    Hi I am making the setup of my application using wix. I want to Write application version no and installation path to registry so that it write to the path I define in wix code Please help Thanks

    L 1 Reply Last reply
    0
    • S sumit7034

      Hi I am making the setup of my application using wix. I want to Write application version no and installation path to registry so that it write to the path I define in wix code Please help Thanks

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Your solution is here[^]. HTH

      Jinal Desai - LIVE Experience is mother of sage....

      S 1 Reply Last reply
      0
      • L Lost User

        Your solution is here[^]. HTH

        Jinal Desai - LIVE Experience is mother of sage....

        S Offline
        S Offline
        sumit7034
        wrote on last edited by
        #3

        Thanks But How can I capture the application installation path and store it to registry as user can install it to c drive or any other drive or location.

        L 1 Reply Last reply
        0
        • S sumit7034

          Thanks But How can I capture the application installation path and store it to registry as user can install it to c drive or any other drive or location.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          There are many options for that, I do not know which will help you. You can use Application.StartupPath, Application.ExecutablePath or any other options displayed in following links. http://www.csharp-examples.net/get-application-directory/[^] http://www.canbal.com/index.php?/Using-C-Sharp/setup-project-getting-the-user-selected-install-directory.html[^] http://bytes.com/topic/visual-basic-net/answers/387399-installation-path-deployment-app[^] HTH

          Jinal Desai - LIVE Experience is mother of sage....

          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