Hi,

When I run this commond:

candle.exe -dVersion=1.1 
"C:\Dev\usr\carolina.amaral\PatchCreation\Product\Product\Product.wxs" -out 
"C:\Dev\usr\carolina.amaral\PatchCreation\1.1\Product.wixobj

The following error occurs:

error CNDL0200 : The Component element contains an unhandled extension element 
'Util:XmlFile'.  Please ensure that the extension for elements in the 
'http://schemas.microsoft.com/wix/UtilExtension' namespace has been provided.

How I resolve it?

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Code:

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
     xmlns:Util="http://schemas.microsoft.com/wix/UtilExtension"; >

  <Product Id="{F57E0806-B8E9-4e4b-A4B7-83797657175E}"
      Name="WiX Patch Example Product"
      Language="1064"
      Version="1.0.0"
      Manufacturer="Dynamo Corporation"
      UpgradeCode="{71C36DBF-DED5-4367-8D27-ED1D438AADC6}">
    <Package Description="Installs a file that will be patched."
        Comments="This Product does not install any executables"
        InstallerVersion="200"
        Compressed="yes" />

    <Media Id="1" />

    <?define path = "C:\Dev\usr\carolina.amaral\PatchCreation\Product\Product"?>

    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFilesFolder" Name="PFiles">
        <Directory Id="INSTALLLOCATION" Name="Patch Sample Directory">
          <Component Id="SampleComponent" 
Guid="{C28843DA-EF08-41CC-BA75-D2B99D8A1983}" DiskId="1">
            <File Id="SampleFile" Name="Sample.txt" 
Source="$(var.path)\$(var.Version)\Sample.txt" Compressed="no" />
            <File Id="ConvergenciaAHAppexeCONFIG" 
Name="Convergencia.AH.App.exe.config"
                
Source="$(var.path)\$(var.Version)\Convergencia.AH.App.exe.config" 
Compressed="no" />
            <File Id="WpfControlLibraryDLL" Name="WpfControlLibrary.dll" 
Source="$(var.path)\$(var.Version)\WpfControlLibrary.dll" Compressed="no" />
            <File Id="WpfUpdatableAppEXE" Name="WpfUpdatableApp.exe" 
Source="$(var.path)\$(var.Version)\WpfUpdatableApp.exe" Compressed="no" />
            <!--<RemoveFile Id="RemoveCinfig" 
Name="Convergencia.AH.App.exe.config" On="install"/>-->

            <Util:XmlFile Id="WitIntegration"
                          Permanent="no"
                          Action="setValue"
                          
ElementPath="/configuration/appSettings/add[...@key='IsGMIntegrationAvailable'[\]]/@value"
                          File="[INSTALLLOCATION]Convergencia.AH.App.exe.config"
                          Value="True"/>
          </Component>
        </Directory>
      </Directory>
    </Directory>

    <CustomAction Id ="SAVETARGETDIR" Property="ARPINSTALLLOCATION" 
Value="INSTALLLOCATION"/>

    <InstallExecuteSequence>
      <Custom Action="SAVETARGETDIR" After="InstallValidate"/>
    </InstallExecuteSequence>

    <Feature Id="SampleProductFeature" Title="Sample Product Feature" Level="1">
      <ComponentRef Id="SampleComponent" />
    </Feature>
  </Product>
</Wix>

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Tranks,

Carolina Zuqueto Amaral
carolina.ama...@conv.com.br<mailto:carolina.ama...@conv.com.br>
tel +55 21 2494-5476
cel +55 21 9524-7186



________________________________
Confidencialidade: A informa??o contida nesta mensagem de e-mail, incluindo 
quaisquer anexos, ? confidencial e est? reservada apenas ? pessoa ou entidade 
para a qual foi endere?ada. Se voc? n?o ? o destinat?rio ou a pessoa 
respons?vel por encaminhar esta mensagem ao destinat?rio, voc? est?, por meio 
desta, notificado que n?o dever? rever, retransmitir, imprimir, copiar, usar ou 
distribuir esta mensagem de e-mail ou quaisquer anexos. Caso voc? tenha 
recebido esta mensagem por engano, por favor, contate o remetente imediatamente 
e apague esta mensagem de seu computador ou de qualquer outro banco de dados. 
Grato.

Confidentiality Notice: The information contained in this email message, 
including any attachment, is confidential and is intended only for the person 
or entity to which it is addressed. If you are neither the intended recipient 
nor the employee or agent responsible for delivering this message to the 
intended recipient, you are hereby notified that you may not review, 
retransmit, convert to hard copy, copy, use or distribute this email message or 
any attachments to it. If you have received this email in error, please contact 
the sender immediately and delete this message from any computer or other data 
bank. Thank you.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to