Is is you.  The entry point can be re-used with a new Id:

<CustomAction Id="CallMeByThisName" BinaryKey="MYCA" 
DllEntry="MyCSharpEntryPoint" Execute="immediate" />
<CustomAction Id="CallMeByAnotherName" BinaryKey="MYCA" 
DllEntry="MyCSharpEntryPoint" Execute="immediate" />

--
John Merryweather Cooper
Build & Install Engineer - ESA
Jack Henry & Associates, Inc.®
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com


-----Original Message-----
From: Levi Wilson [mailto:l...@leviwilson.com] 
Sent: Wednesday, March 19, 2014 4:53 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] C# Custom Actions - Renaming Functions

Is it me, or is it impossible to rename a C# custom action function once you've 
built it?

My wxs files are correct to reflect the new name. I have verified that the 
binary file that is in there has the newly named method after I build it (I 
saved it from Orca and did `dumpbin saved.dll /EXPORTS` to see it).
However, when I go to run the install I get:

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 ValidateSQLAdminCredentials,
entry: ValidateSQLAdminCredentials, library:
C:\Users\VMWARE~1\AppData\Local\Temp\MSI8F83.tmp

The one that is reflected isn't even the one that I renamed, but that would be 
the first time it tried to load my DLL.

I've cleared out my bin and obj directories in my CA project as well as my 
installer project.

What am I missing or where can I look to help troubleshoot? I'm using Wix
3.8
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to