THANK YOU! I was using a standard C# class library project type (apparently I was blind to the other WiX project types).
It is working great now. Thank you for your help and quick response. Bob ________________________________________ From: Blair [os...@live.com] Sent: Tuesday, November 23, 2010 8:36 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Custom Action DLL getting Error 1723 Did you create your CA DLL using the WiX DTF CA project types? -----Original Message----- From: Pound, Robert (CDC/OCOO/ITSO) (CTR) [mailto:u...@cdc.gov] Sent: Tuesday, November 23, 2010 6:03 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom Action DLL getting Error 1723 Thanks for the response. My VS2010 is not creating 2 DLL's (what version are you using? What do I need to do to get 2 DLL's, if that is what I am supposed to have?). However, I created another DLL as CATestDLL2.CA.dll in my install folder. Reran install with same results as before. Thanks, Bob ________________________________________ From: Henk Roos [henk.r...@aricent.com] Sent: Tuesday, November 23, 2010 8:41 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] FW: Custom Action DLL getting Error 1723 Not sure if this will help, but what I've noticed when I created C# custom actions I saw I had to add the dll that ended with a *.CA.dll, cause I saw visual studio creates 2 dll's in the debug or release folder for wix custom actions. Regards, Henk Roos -----Original Message----- From: Pound, Robert (CDC/OCOO/ITSO) (CTR) [mailto:u...@cdc.gov] Sent: Tuesday 23 November 2010 15:30 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom Action DLL getting Error 1723 I have a wix install with 2 custom actions. One is for a EXE and the other is for a DLL (see below). The .EXE custom action is invoked correctly. However, the DLL custom action gets an error 1723 (see install log snippet and source code below). Since others are having success with DLL custom actions I suspect the problem is mine. However, I can't see it. Any help will be appreciated. FYI: Using WiX 3.6.1112.0 + vS2010 + .Net Framework 4 ****>CUSTOM ACTION FRAGMENT <Fragment Id="myCustomAction"> <Binary Id='caTestExe' SourceFile= '..\caTestExe\bin\debug\caTestExe.exe'/> <Binary Id="caTestDLL2" SourceFile = '..\caTestDLL2\bin\debug\CATestDLL2.dll' /> <CustomAction Id='ca.caTestExe' BinaryKey='caTestExe' ExeCommand='SOME_Value "[PROP_TEST]"' Execute='immediate' Return='check'/> <CustomAction Id="ca.caTestDLL2" BinaryKey="caTestDLL2" DllEntry="TestIt" Execute="immediate" Return="check" /> </Fragment> ****>INSTALL SEQUENCE < InstallExecuteSequence > < Custom Action="ca.caTestExe" Sequence="1501" / > < Custom Action="ca.caTestDLL2" Sequence="1502" / > </ InstallExecuteSequence > ****> SOURCE CODE (caTestDLL2) using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Deployment.WindowsInstaller; namespace caTestDLL2 { public class caTestDLL2 { [CustomAction] public static ActionResult TestIt(Session session) { return ActionResult.Success; } } } ****> Install log snippet Doing action: ca.caTestDLL2 Note: 1: 2205 2: 3: ActionText Action start 7:44:42: ca.caTestDLL2. Creating MSIHANDLE (1) of type 790542 for thread 2348 Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSIC50.tmp, Entrypoint: TestIt Generating random cookie. Created Custom Action Server with PID 1736 (0x6C8). Running as a service. Hello, I'm your 32bit Impersonated custom action server. Closing MSIHANDLE (1) of type 790542 for thread 2348 Note: 1: 1723 2: ca.caTestDLL2 3: TestIt 4: C:\WINDOWS\Installer\MSIC50.tmp Note: 1: 2205 2: 3: Error Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1723 Note: 1: 2205 2: 3: Error Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 Product: Bob.CATest -- 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 ca.caTestDLL2, entry: TestIt, library: C:\WINDOWS\Installer\MSIC50.tmp Thanks Bob ---------------------------------------------------------------------------- -- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus." ---------------------------------------------------------------------------- -- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ---------------------------------------------------------------------------- -- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users