Hi,
I'm trying to use custom action in my setup project,
but whenever I try to use Installer class in order
to do something, the installation fails (and rolls back) with
the following message:
"Could not find file 'E:\Program Files\Default Company
Name\Setup1\InstallActions.InstallState'".
Here is the code snippet of my installer's class.
---------------- code snippet ---------------------------------
[RunInstaller(true)]
public partial class Installer1: Installer
{
public Installer1()
{
InitializeComponent();
this.Committed += new InstallEventHandler(Installer1_Committed);
}
void Installer1_Committed(object sender, InstallEventArgs e)
{
System.Diagnostics.Debugger.Break();
}
}
---------------- code snippet ---------------------------------
By the way, this worked in VS2003 (there I had implemented Install method
instead
of using event).
Can anybody help me?
--
Arthur Nesterovsky