deploying the files
-
dear friends I have made setup n deployment project. I want is that when the location is selected for the application the location must be saved to the registry eg. "C:\Program File\new software". so how should i achive this. please help me out. thanxs in advance Taher
-
dear friends I have made setup n deployment project. I want is that when the location is selected for the application the location must be saved to the registry eg. "C:\Program File\new software". so how should i achive this. please help me out. thanxs in advance Taher
Do you need this value in your code somewhere? If so, it's easy enough to get at runtime without going to the registry to get it. This path is returned by
Application.StartupPath
.Dim myAppPath As String = Application.StartupPath
If you wanted to write this value to the registry during the installation, you'd have to create a custom action to do it. You can find out more about custom actions here[^].
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007