Hi,
I could see <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:pca="http://schemas.microsoft.com/wix/2005/02/pubca" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> in .wxs file So called candle as, "%WIXPATH%candle" *.wxs -nologo -pedantic:legendary -dVersion=%Version% -dSourceDir="%SOURCE%" -out obj\ -ext WixUtilExtension Where the older one was, "%WIXPATH%candle" -nologo -pedantic:legendary -dVersion=%Version% -dSourceDir="%SOURCE%" -out obj\ *.wxs -ext Microsoft.Tools.WindowsInstallerXml.PcaCompiler,pcaext And also copied WixUtilExtension to the folder where *.wxs are present since calling WixUtilExtension pointing to %WIXPATH% gave me below error: candle.exe : error CNDL0144 : The extension 'C:\Program Files (x86)\Windows Installer XML v3\bin\WixUtilExtension' could not be loaded because of the following reason: Could not load file or assembly 'file:///C:\Program Files (x86)\WindowsInstaller XML v3\bin\WixUtilExtension' or one of its dependencies. The system cannot find the file specified. ********************** Candle FAILED: 144 Error I am getting now after the call; ************************************************************************* Starting WiX Build ************************************************************************* STARTING: Wix Cop COMPLETED: Wix Cop STARTING: Candle PerfCounters.wxs candle.exe : error CNDL0001 : The given path's format is not supported. Exception Type: System.NotSupportedException Stack Trace: at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccessaccess, AccessControlActions control, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,FileShare share, Int32 bufferSize, FileOptions options) at System.IO.StreamWriter.CreateFile(String path, Boolean append) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) at System.IO.StreamWriter..ctor(String path) at Microsoft.Tools.WindowsInstallerXml.Tools.Candle.Run(String[] args) ********************** Candle FAILED: 1 ********************** Could you please let me know if I am missing something? Thanks and Regards, Arun Jose -----Original Message----- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: 26 June 2012 14:29 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix v3.0 - Candle error The command line for candle and light changed from v2 to v3, you know specify extension like this -ext WixIIsExtension or -ext WiXUtilExtension (I can't remember what pcaext was). As you have run WiXCop on your file the schema at the top of the file will point you to the correct extension. Neil -----Original Message----- From: Jose, Arun non Unisys [mailto:arun.j...@in.unisys.com]<mailto:[mailto:arun.j...@in.unisys.com]> Sent: 26 June 2012 10:57 To: wix-users@lists.sourceforge.net<mailto:wix-users@lists.sourceforge.net> Subject: [WiX-users] Wix v3.0 - Candle error Hi, I was trying to build an MSI using Wix V3 from my previous version of wxs files (was in V2). When I ran candle.exe, I got the below error; ************************************************************************* Starting WiX Build ************************************************************************* STARTING: Wix Cop COMPLETED: Wix Cop STARTING: Candle candle.exe : error CNDL0144 : The extension 'pcaext' could not be loaded because of the following reason: Could not load file or assembly 'file:///E:\AJ\SSCM\SSCM Installers\Service installers\Web services farm\SSCMPoisonMessageServiceInstaller.root\SSCMPoisonMessageService_2_0_Installer\pcaext' or one of its dependencies. The system cannot find the file specified. ********************** Candle FAILED: 144 ********************** What is the reason for this error and how can I resolve it? I could not find pcaext.dll in Wix installed path as well. Thanks and Regards, Arun Jose ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net<mailto:WiX-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net<mailto:WiX-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users