Hi, I have solved the problem. It seems like i forgot to add the following code at the end of my .wxs file
<Binary Id="ChkProgDLL" SourceFile="ChkProgDLL.dll"/> After i add the code, i can build the installer ( .msi ). However, an error is reported when i try to run the DLL from a button click. <Control Id="OK" Type="PushButton" X="240" Y="243" Width="56" Height="17" Default="yes" Text="$(loc.WixUIOK)" Disabled="no"> <Publish Event="DoAction" Value="ChkProgDLL">1</Publish> The installer package reports the following error : "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". I wrote the DLL by using Microsoft Visual Studio .NET 2005 C#. What might be the problem ? Cheers! -- View this message in context: http://www.nabble.com/wix-error-code-LGHT0112-tf3625526.html#a10124706 Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users