I'm completely new to creating deployment projects, so I probably missed something simple. I've been trying to get a custom action to run, but I can't. Every time I tell it to run one, I get "The System cannot find the file specified" as it reaches the end of the installation. Initially, I thought it might have been a problem with my code, so I removed it and just left an empty Install method.
using System; using System.Collections.Generic; using System.ComponentModel; using System.Configuration.Install;
namespace BarcodeAdmin { [RunInstaller(true)] public partial class Installer1 : Installer { public Installer1() { InitializeComponent(); } public override void Install(System.Collections.IDictionary stateSaver) { base.Install(stateSaver);
} } }
|
However, I still get the same error.
In the Custom Actions, under install, I have
Primary output from BarcodeAdmin (Active)
with BarcodeAdmin being my main project. All the properties in the custom action are left at their default values. Once I can get this to run with an empty Install method, I can add in my code, but for now, I'm lost. Can anyone help me out with this?
Master BillaPosted Oct 3, 2009, 1:42 AM
When you are create custom action, you need take some steps.
here is those are given with sample
http://msdn.microsoft.com/en-us/library/d9k65z2d.aspx
thank you
Roei BarPosted Oct 2, 2009, 4:49 PM
follow the steps in this article
http://support.microsoft.com/kb/317421