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