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. Record install path?

Record install path?

Scheduled Pinned Locked Moved C#
csharpwindows-adminhelpquestion
2 Posts 2 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.
  • T Offline
    T Offline
    the last free name
    wrote on last edited by
    #1

    We have a requirement to run a .Net app from a VB6 app. This is no real problem as I'm not doing the VB6 side:-D but is it possible to create a registry entry with the install path of the .Net app at the time of install? I could populate the reg entry at run time no problem, but this would mean the app must be run once before being called externally. Alternatively is it possible to run an app atuomatically after an install, so the reg entry can be completed at run time. Any suggestions welcome, Thanks

    H 1 Reply Last reply
    0
    • T the last free name

      We have a requirement to run a .Net app from a VB6 app. This is no real problem as I'm not doing the VB6 side:-D but is it possible to create a registry entry with the install path of the .Net app at the time of install? I could populate the reg entry at run time no problem, but this would mean the app must be run once before being called externally. Alternatively is it possible to run an app atuomatically after an install, so the reg entry can be completed at run time. Any suggestions welcome, Thanks

      H Offline
      H Offline
      Heath Stewart
      wrote on last edited by
      #2

      This greatly depends on the setup technology you're using. If you're using an actually installation technology like Windows Installer, InstallShield setup, Wise setup, Nullsoft setup, or anything else then you can write a registry key with the path of the executable. If you're just doing XCOPY deployment (or otherwise dragging and dropping) then no. You need to consult your installation builder documentation for this. This is not a C#-related question. This posting is provided "AS IS" with no warranties, and confers no rights. Software Design Engineer Developer Division Sustained Engineering Microsoft [My Articles]

      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