Is there a way to get the path of the a setup (i.e. the .msi or the .exe) file built with the windows installer in C# during installation? I have designed a setup file that must copy a file during the installation from the setup directory to the target directory. I know how to retrieve the target directory but lack ideas to retrieve the location of the .msi or the .exe file that did the installation. Please folks I need help.