Hi,
I've created an MSM project which executes a Custom Action.. however having hooked the MSM into a Setup project, during the installation if fails with the following error... <h2>CustomAction RegisterAddIn returned actual error code 1154 (note this may not be 100% accurate if translation happened inside sandbox) Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action RegisterAddIn, entry: RegisterAddin, library: C:\Windows\Installer\MSI9DDB.tmp </h2> Oddly if I reference the CA from the setup proj directly its fine. I've replicated this issue in a very simple installation package... the bare nuts of which I've included below... Can anyone suggest what I'm missing?? Code example.... ** Custom action ** [CustomAction] public static ActionResult RegisterAddIn(Session session) { session.Log("Begin CustomAction1"); return ActionResult.Success; } ** Merge Module Project ** <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Module Id="MSM" Language="1033" Version="1.0.0.0"> <Package Id="someguid" Manufacturer="MSM" InstallerVersion="200" /> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="MergeRedirectFolder"> ... Add a dummy component i.e. text file </Directory> </Directory> <Binary Id="RegCA" SourceFile="$(var.CustomAction.TargetDir)\CustomAction.CA.dll" /> <CustomAction Id="RegisterAddIn.SetProperty" Return="check" Property="RegisterAddin" Value="InstallDir=[INSTALLLOCATION]" /> <CustomAction Id="RegisterAddIn" BinaryKey="RegCA" DllEntry="RegisterAddin" Return="check" Execute="deferred" Impersonate="no" /> <InstallExecuteSequence> <Custom Action="RegisterAddIn.SetProperty" After="InstallFiles" /> <Custom Action="RegisterAddIn" After="RegisterAddIn.SetProperty" /> </InstallExecuteSequence> </Module> </Wix> ** Setup Project ** <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="someguid" Name="SetupProject" Language="1033" Version="1.0.0.0" Manufacturer="SetupProject" UpgradeCode="someguid"> <Package InstallerVersion="200" Compressed="yes" /> <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" /> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="INSTALLLOCATION" Name="MyTestSetup"> <Merge Id="Test.msm" DiskId="1" SourceFile="$(var.MSM.TargetPath)" Language="1033" /> </Directory> </Directory> </Directory> <Feature Id="ProductFeature" Title="SetupProject" Level="1"> <MergeRef Id="Test.msm"/> </Feature> </Product> </Wix> WiX Version : 3.5 OS : Windows 7 x64 ----------------------------------------------------------------------------------------- This email is sent on behalf of Northgate Information Solutions Limited and its associated companies ("Northgate") and is strictly confidential and intended solely for the addressee(s). If you are not the intended recipient of this email you must: (i) not disclose, copy or distribute its contents to any other person nor use its contents in any way or you may be acting unlawfully; (ii) contact Northgate immediately on +44 (0)1442 232424 quoting the name of the sender and the addressee then delete it from your system. Northgate has taken reasonable precautions to ensure that no viruses are contained in this email, but does not accept any responsibility once this email has been transmitted. You should scan attachments (if any) for viruses. Northgate Information Solutions Limited. Registered in England no. 06442582 - Northgate Information Solutions UK Limited. Registered in England no. 968498 - NorthgateArinso UK Limited .Registered in England no. 1587537 - Moorepay Limited. Registered in England no. 891686 - First Business Support Limited. Registered in England no. 3056267 - Registered Office: Peoplebuilding 2, Peoplebuilding Estate, Maylands Avenue, Hemel Hempstead, Hertfordshire HP2 4NW Northgate Managed Services Limited (NI). Registered in Northern Ireland no. NI032979 - LearnServe Limited (NI). Registered in Northern Ireland no. NI043825 Registered Office: Hillview House, 61 Church Road, Newtownabbey, Co. Antrim, BT36 7LQ ----------------------------------------------------------------------------------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users