I’m trying to get an Installer class derived class to
start executing during install of my assembly. I’ve searched and
read countless websites and thought I had things setup properly. I’m
including InstallUtil as a binary stream in my assembly along with a config
file that sets up .NET 1.1 as a supported runtime. My wix code is like this. #FileId is the id of the
file that contains the installer class. #InstallUtilConfig is the id of
the binary stream that contains my config file. When I compile this up
and attempt to install it, I get error 2869 near the end of the install. Anyone
have any ideas what might be wrong here? <Binary Id="InstallUtil" src="InstallUtilLib.dll" /> <Binary Id="InstallUtilConfig" src="CustomAction.config" /> <CustomAction Id="CustomInstall" BinaryKey="InstallUtil" DllEntry="ManagedInstall" Execute="deferred" /> <CustomAction Id="InstallSetProp" Property="CustomInstall" Value="/installtype=notransaction /action="" /LogFile= "[#FileId]" "[#InstallUtilConfig]"" /> <InstallExecuteSequence> <Custom Action="InstallSetProp" After="InstallFiles">NOT
Installed</Custom> <Custom Action="CustomInstall" After="InstallSetProp">NOT
Installed</Custom> </InstallExecuteSequence> I’ve added the installer derived class to my
assembly. It is here: [RunInstaller(true)] public class CustomInstaller : Installer { public override void Install(System.Collections.IDictionary stateSaver) { base.Install(stateSaver); System.Windows.Forms.MessageBox.Show("Installing"); } public override void Uninstall(System.Collections.IDictionary savedState) { base.Uninstall(savedState); System.Windows.Forms.MessageBox.Show("Uninstalling"); } } |
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users