I am using a setup project and Windows Installer to deploy my
application and have some additional code in custom actions. In this
code I need to refer to one of the install files but I cannot find how
to determine the path. For example, if the install CD is in the d:
drive and the user runs d:\setup.exe I want to know that it has been
run from d: (rather than e: or any other location) so that I can build
up the path to one of the folders on the CD.
I do not want to copy the file as part of the installation because it
is large and not required once installation is complete.
Can anyone help?