End Google Ads 201810 - BS.net 01 --> Hi, I am targeting .NET 3.5 and developing using Visual Studio 2008 Team System. I have a custom task that runs at the "Commit" phase of the installation. To carry out the required works in that task, I need to know the ******** the user chose to install the application. Is there any way to access it in the task? I tried "Assembly.GetExecutingAssembly().********" but that returns the windows directory, not the directory the application is being installed.

I have found that in the "File System" section of the installer project, properties of the "Application Folder" includes a property named "Property" that has its value set as "TARGETDIR". Does that provide some way to get the installation ********?

Edit: One more info, the custom action is a standard windows form project, it does not contain any installer class or anything. Just contains a windows form and two user controls. The project type is "Windows Application" so it creates an exe. Just thought these info might be needed.

modified on Saturday, April 4, 2009 1:09 AM