Wix - Error Creating Installer Package - ERROR CNDL0200 (Unhandled Extension Item)

Hello, I was unable to create this WiX installation package ... I am using Wix utilExtensions and added it to the installation project links. I get the following error when creating the package:

enter image description here

XML is provided;

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

    <Directory Id="TARGETDIR" Name="SourceDir">
      <!--Creates the Roaming folder required for local document    saving-->
      <Directory Id="AppDataFolder">
        <Directory Id="ROAMINGFOLDER" Name="App">
          <Component Id="ROAMINGFOLDER" Guid="*">
            <RemoveFolder Id="ROAMINGFOLDER" On="uninstall"/>
            <RegistryValue Root="HKMU"
                           Key="Software\[Manufacturer]\[ProductName]\Roaming"
                           Type="string"
                           Value="App Roaming Folder" />
          </Component>
        </Directory>
      </Directory>

      <Directory Id="ProgramFilesFolder">
        <Directory Id="APPLICATIONFOLDER" Name="My App">

          <Component Id="APPLICATIONFOLDER" Guid="*">
            <RemoveFolder  Id="APPLICATIONFOLDER"
                       On="both"  />
            <util:RemoveFolderEx Id="APPLICATIONFOLDER" On="uninstall"/>
            <RegistryValue Root="HKMU"
                           Key="Software\[Manufacturer]\[ProductName]"
                           Type="string"
                           Value="My App" />
          </Component>
...

      

Any idea on how to tackle this specific problem?

+3


source to share


1 answer


It looks like you didn't actually provide the WixUtilExtension dll to build. It depends on how you are building, but in Visual Studio you have added the Dlls to the node references, otherwise on the command line you have to use -ext WixUtilExtension in the candle command line and have the Dll in the build location.



+1


source







All Articles