Which version of WiX are you using? I call WiX from nant and haven't seen any 
problems recently.
 
Neil
 
Neil Sleightholm
X2 Systems Limited
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
 

________________________________

From: [EMAIL PROTECTED] on behalf of Eric Latendresse
Sent: Tue 22/07/2008 22:36
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Build Fails with NAnt. The format of the file 
'NAntTasks.dll' is invalid.



I am using NAnt to build my WiX project. Here is the code:



<target name="CreateSetupPackageUsingWiX" description="Create the
installer package using WiX Script">

<mkdir dir="${wix.release.dir}"/>

<loadtasks
assembly="${wix.work.dir}/Microsoft.Tools.WindowsInstallerXml.NAntTasks.
dll"/>



<candle out="${wix.work.dir}\" cultures="en-us"
extensions="WixUtilExtension;WixWixSqlExtension;WixUIExtension"
exedir="${wix.dir}\" rebuild="true">

                <sources>

                                <include name="SuiteSetup.wxs" />

                </sources>

</candle>

<light out="${wix.release.dir}/SuiteSetup.msi" cultures="en-us"
extensions="WixUtilExtension;WixWixSqlExtension;WixUIExtension"
exedir="${wix.dir}\" rebuild="true">

                <sources>

                                <include name="SuiteSetup.wixobj" />

                </sources>

</light>

</target>









Here is the error I am getting:



BUILD FAILED - 1 non-fatal error(s), 0 warning(s)



D:\Development\SuiteBuild_Development\BuildProcess.build(209,4):

Failure scanning \"C:\Program Files (x86)\Windows Installer XML
v3\bin\Microsoft.

Tools.WindowsInstallerXml.NAntTasks.dll\" for extensions.

    The format of the file
'Microsoft.Tools.WindowsInstallerXml.NAntTasks.dll' is invalid.



Total time: 0.1 seconds.





Eric





-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to