Windows Vista Beta | WinVistaBeta.com - Message | How do I get the path of the setup.exe at runtime

November 23, 2008  
Subject: How do I get the path of the setup.exe at runtime
Group: microsoft.public.msdn.general
Date: 6/7/2008 11:29:00 PM
From: =?Utf-8?B?RGF2ZSBC?= [Email Address Protection]

I am building a project in C# using a setup project. I have included an
installer class with the onafterinstall event handler.

I would like to be able to get the path the user started the installation
from, as this could be a network install, cd install, etc.

I haven't quite been able to narrow this down, searched google, tried
System.Deployment, System.Environment, System.Reflection namespaces to no
avail.

Can anyone help me here please?


Back