rogor
June 29th, 2007, 11:50 AM
My setup project contains the primary outputs from several projects, one of which is an installer class. This class does all of the dirty work configuring the application.
One of the things I need to know in this installer class is the actual source path of the msi file (or setup.exe, as the case may be) .. this is not passed in the Context.Parameters collection (the destination is, as 'assemblypath'; the source path is not).
Since the installer class is actually running from the destination folder, the My.Application properties also point to this folder.
How do I find the source folder?
One of the things I need to know in this installer class is the actual source path of the msi file (or setup.exe, as the case may be) .. this is not passed in the Context.Parameters collection (the destination is, as 'assemblypath'; the source path is not).
Since the installer class is actually running from the destination folder, the My.Application properties also point to this folder.
How do I find the source folder?