I assume you've also modified your C# CustomAction to include the updated name 
and rebuilt it?  Do you have a full log available (or at least some of the 
lines before that where the CA is being extracted).  If need be, one could peek 
into the temp file after extraction and ensure it's using the updated assembly.

-----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

------------------------------------------------------------------------------
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