Getting the Installation root directory from inside an Installer
-
Hi Guys, I have an Installer object in a program, and i'd like to do some configuration to the installed files during the install process. In order to do this, i need the root directory of the installation, as specified when it prompts the user to enter the path of the install. Is there any way to get this from inside the Installer? Or do i need to pass in a parameter or some kind of configuration setting? Regards Tris
------------------------------- Carrier Bags - 21st Century Tumbleweed.
-
Hi Guys, I have an Installer object in a program, and i'd like to do some configuration to the installed files during the install process. In order to do this, i need the root directory of the installation, as specified when it prompts the user to enter the path of the install. Is there any way to get this from inside the Installer? Or do i need to pass in a parameter or some kind of configuration setting? Regards Tris
------------------------------- Carrier Bags - 21st Century Tumbleweed.
-
Hi Guys, I have an Installer object in a program, and i'd like to do some configuration to the installed files during the install process. In order to do this, i need the root directory of the installation, as specified when it prompts the user to enter the path of the install. Is there any way to get this from inside the Installer? Or do i need to pass in a parameter or some kind of configuration setting? Regards Tris
------------------------------- Carrier Bags - 21st Century Tumbleweed.
In the AfterInstall event of an Installer class you can get it from here... System.Reflection.Assembly.GetExecutingAssembly().Location