Visual Studio Development Bookmark and Share   
 index > Visual Studio WPF Designer > how to get the installation path of a Installer
 

how to get the installation path of a Installer

I have to make one Installer of Window application.
I have created installer of the project. But my problem is when User changes the Default path to install the application
how to get the installation path of a Installer.
I want this path because, using this path i have to create Some XML file at that location so that application can use these newly created XML file
RaghvendraS  Friday, August 28, 2009 3:16 PM
I have to make one Installer of Window application.
I have created installer of the project. But my problem is when User changes the Default path to install the application
how to get the installation path of a Installer.
I want this path because, using this path i have to create Some XML file at that location so that application can use these newly created XML file
I need this urgently , please guide me
RaghvendraS  Saturday, August 29, 2009 10:28 AM
Well I got it

Dim installFolder As String = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location)

is the soultion

RaghvendraS  Saturday, August 29, 2009 2:29 PM

You can use google to search for other answers

Custom Search

More Threads

• toolboxcontrolsinstaller WPF controls
• Event Handlers
• Default XML Namespace for Custom Control
• How should we submit bug reports?
• Generating .chm files for WPF app
• getting control(s) and its properties dragged into VS Design Surface during desing time
• Canvas Size Differs from windows Size
• Can not create instance of type CourseSelector
• style progressbar
• WPF designer won't load when binding datasource from entity model