WIX Component/@Directory Problem

Add-in Express™ Support Service
That's what is more important than anything else

WIX Component/@Directory Problem
 
Ma ka




Posts: 75
Joined: 2011-02-25
Hi,

i receive in an new WIX project the following error's

"The Component/@Directory attribute cannot be specified when the Component element is nested underneath a Directory element"

"The Component element has multiple key paths set. The key path may only be set to 'yes' in extension elements that support it or one of the following locations: Component/@KeyPath, File/@KeyPath, RegistryValue/@KeyPath, or ODBCDataSource/@KeyPath. C:\Users\Mkaker\Documents\Visual Studio 2012\Projects\...\...\...Setup_\0.9.9\Product.wxs 220 1 .....Setup(0.9.9)
"

What does that mean and how can i fix it?
Posted 04 Apr, 2014 01:54:18 Top
Dmitry Kostochko


Add-in Express team


Posts: 2731
Joined: 2004-04-05
Hello Ma,

How can I reproduce the error on my side? Could you please provide me with the steps that lead to this error?
Posted 04 Apr, 2014 03:00:48 Top
Ma ka




Posts: 75
Joined: 2011-02-25
The error point tho the line

 <Component Id="ProductComponent" Guid="aef02638-6c4e-4fd4-9822-a4505c37bac9" DiskId="1" Directory="INSTALLFOLDER">


i the following Product.wxs file

?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
  <Product Id="2b05844c-206c-4634-a2ad-ac5301c852a0" Name="Chartvizer Office" Language="1031" Version="0.9.9" Manufacturer="www.chartvizer.de" UpgradeCode="2b05844c-206c-4634-a2ad-ac5301c852a1" Codepage="1252">
    <Package InstallerVersion="200" Compressed="yes" InstallScope="perUser" Description="Professionelle Charts in MS Office" Manufacturer="www.chartvizer.de" Languages="1031" SummaryCodepage="1252" InstallPrivileges="limited" />
    <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
    <Media Id="1" Cabinet="MyAddIn.cab" EmbedCab="yes" />
    <Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" />
    <Feature Id="ProductFeature" Title="Chartvizer Office" Level="1" ConfigurableDirectory="INSTALLFOLDER">
      <ComponentGroupRef Id="ProductComponents" />
      <ComponentRef Id="comp_dir_A9514AC4_015A_4C2D_BF9B_3545AE6B0A46" />
      <ComponentRef Id="comp_dir_132A118E_3F4D_4A08_B11D_C8F61EF2CBF0" />
      <ComponentRef Id="comp_dir_DAB6EE11_20FF_410C_9792_DD78F7D54137" />
      <ComponentRef Id="comp_dir_2681FD5B_FC14_490E_8157_003AAD510DA8" />
      <ComponentRef Id="comp_dir_74C1A404_50BF_4E13_8FDC_44658AC621FA" />
      <ComponentRef Id="comp_dir_6AB40244_A318_4AE1_B67B_A794947FB8AA" />
      <ComponentRef Id="comp_dir_6F426CBE_A53A_4EF7_B26A_4627149675FD" />
      <ComponentRef Id="comp_dir_6C4EF221_8283_46B0_9C0C_8F57E59CA19B" />
      <ComponentRef Id="comp_375687B0_48DC_4DA8_B15D_DAF406B7CD76" />
      <ComponentRef Id="comp_68518566_D6D5_48AD_82B1_ABD526245874" />
      <ComponentRef Id="comp_6CD2877B_F269_4F23_8FFC_42A62190756F" />
      <ComponentRef Id="comp_183A48F5_DEDD_4F62_927B_A695963C2013" />
      <ComponentRef Id="comp_823AA5A0_FBD2_4EE0_82D9_2A9AB05EFAD9" />
      <ComponentRef Id="comp_002955CC_CEDA_467E_A80B_093B757ED8B9" />
      <ComponentRef Id="comp_D0060D5E_0BBE_4B75_8981_4FE40F761FF9" />
      <ComponentRef Id="comp_43E11093_B0B1_4380_9467_73DAEDC66CD0" />
      <ComponentRef Id="comp_BE44318F_C71B_4BA6_B93E_CB2912F6C31E" />
      <ComponentRef Id="comp_0E05D3AE_F173_4F3C_BDE6_7DC265559F0B" />
      <ComponentRef Id="comp_4733B1FC_BAC0_4295_BFE5_5D0EB1CF1C7A" />
      <ComponentRef Id="comp_2BAC32D6_885F_4E1D_9E5C_FA15F6F781CA" />
      <ComponentRef Id="comp_F4692E35_72C9_4161_8522_9FEBE47A675B" />
      <ComponentRef Id="comp_BCA66D34_E9A7_413B_AB34_7F7065D26443" />
      <ComponentRef Id="comp_7FB326C8_B2A1_4B3F_A3D7_A7DFD04A78E6" />
      <ComponentRef Id="comp_9B5FA02F_2F77_4B36_84A4_E1469F7D131E" />
      <ComponentRef Id="comp_EBDA62E8_F03B_4FAF_AAA4_7930608CEDAD" />
      <ComponentRef Id="comp_DE18D145_7444_487B_BB9C_26DBC2299899" />
      <ComponentRef Id="comp_EF3215F8_711D_4196_BF09_BA253AD7AAF4" />
      <ComponentRef Id="comp_2CDE702E_140F_48C4_A4D6_588C7F5530CC" />
      <ComponentRef Id="comp_01EA2DC1_9546_4A4F_89FB_7D6AABA2774E" />
      <ComponentRef Id="comp_A5815934_938C_4966_9A1B_B4A54D3E6A8D" />
      <ComponentRef Id="comp_64E75EFA_B134_43D7_BC07_B46F22539FCB" />
      <ComponentRef Id="comp_7A8ABDF0_3E63_4868_BD0C_F6CC40745801" />
      <ComponentRef Id="comp_D4CDE868_3221_4981_AAD7_4B60F48226B5" />
      <ComponentRef Id="comp_346D12E3_05B8_4136_88C6_06E2739561A9" />
      <ComponentRef Id="comp_EFEFF4B4_5F66_49CC_A471_0BADD6340E71" />
    </Feature>
    <UIRef Id="WixUI_InstallDir" />
    <UIRef Id="WixUI_ErrorProgressText" />
    <Binary Id="adxregistrator_exe" SourceFile="$(var.ADX_PATH)Redistributablesdxregistrator.exe" />
    <CustomAction Id="RegisterApp" BinaryKey="adxregistrator_exe" Execute="deferred" ExeCommand="/install=&quot;[INSTALLFOLDER]$(var.MyAddIn.TargetFileName)&quot; /privileges=user /returnExitCode=false" Impersonate="yes" />
    <CustomAction Id="RollbackApp" BinaryKey="adxregistrator_exe" Execute="rollback" ExeCommand="/uninstall=&quot;[INSTALLFOLDER]$(var.MyAddIn.TargetFileName)&quot; /privileges=user" Impersonate="yes" Return="ignore" />
    <CustomAction Id="UnregisterApp" BinaryKey="adxregistrator_exe" Execute="deferred" ExeCommand="/uninstall=&quot;[INSTALLFOLDER]$(var.MyAddIn.TargetFileName)&quot; /privileges=user" Impersonate="yes" Return="ignore" />
    <InstallExecuteSequence>
      <Custom Action="RegisterApp" After="StartServices"><![CDATA[$ProductComponent>2]]></Custom>
      <Custom Action="RollbackApp" After="RegisterApp"><![CDATA[$ProductComponent>2]]></Custom>
      <Custom Action="UnregisterApp" After="MsiUnpublishAssemblies"><![CDATA[$ProductComponent=2]]></Custom>
    </InstallExecuteSequence>
    <!-- Properties for all current versions of the .NET Framework are available here: http://wix.sourceforge.net/manual-wix3/wixnetfxextension.htm -->
    <PropertyRef Id="NETFRAMEWORK40CLIENT" />
    <Condition Message="This application requires .NET Framework 4.0. Please install the .NET Framework then run this installer again."><![CDATA[Installed OR NETFRAMEWORK40CLIENT]]></Condition>
  </Product>
  <Fragment>
    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="LocalAppDataFolder">
        <Directory Id="dir_A9514AC4_015A_4C2D_BF9B_3545AE6B0A46" Name="Chartvizer">
          <Component Id="comp_dir_A9514AC4_015A_4C2D_BF9B_3545AE6B0A46" Guid="9FF4E4B0-CF60-4FE1-A5C8-4DA67494EF78">
            <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_dir_A9514AC4_015A_4C2D_BF9B_3545AE6B0A46" Type="string" Value="New Folder #1 directory" KeyPath="yes" />
            <RemoveFolder Id="id_FD4CFE77_598D_462D_9D6A_2DD2C0C14519" On="uninstall" Directory="dir_A9514AC4_015A_4C2D_BF9B_3545AE6B0A46" />
          </Component>
          <Directory Id="dir_132A118E_3F4D_4A08_B11D_C8F61EF2CBF0" Name="Connector">
            <Component Id="comp_dir_132A118E_3F4D_4A08_B11D_C8F61EF2CBF0" Guid="9A5183EC-C1AF-431B-8118-1CE0244990F1">
              <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_dir_132A118E_3F4D_4A08_B11D_C8F61EF2CBF0" Type="string" Value="New Folder #1 directory" KeyPath="yes" />
              <RemoveFolder Id="id_E8FA7D80_B33D_4FF2_97A2_24BE6BF7CD03" On="uninstall" Directory="dir_132A118E_3F4D_4A08_B11D_C8F61EF2CBF0" />
            </Component>
          </Directory>
          <Directory Id="dir_DAB6EE11_20FF_410C_9792_DD78F7D54137" Name="Daten">
            <Component Id="comp_dir_DAB6EE11_20FF_410C_9792_DD78F7D54137" Guid="2FC65DEC-F689-44B0-BBBA-8D816128E377">
              <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_dir_DAB6EE11_20FF_410C_9792_DD78F7D54137" Type="string" Value="New Folder #1 directory" KeyPath="yes" />
              <RemoveFolder Id="id_3896C0C0_5AED_45BF_A819_6A4812ACF6A5" On="uninstall" Directory="dir_DAB6EE11_20FF_410C_9792_DD78F7D54137" />
            </Component>
            <Component Id="comp_375687B0_48DC_4DA8_B15D_DAF406B7CD76" Guid="90E287FE-212B-4198-AF51-D7EFAC5AA5BB" Permanent="no" SharedDllRefCount="no" Transitive="no">
              <File Id="_E3A37B16_C8AF_4B47_BC5B_D57DA0BFB1FE" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="Database1.sdf" Source="C:UsersMkakerDocumentsVisual Studio 2012ProjectsMyAddInMyAddInDatabase1.sdf" />
              <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_375687B0_48DC_4DA8_B15D_DAF406B7CD76" Type="string" Value="Daten directory" KeyPath="yes" />
            </Component>
            <Directory Id="dir_6F426CBE_A53A_4EF7_B26A_4627149675FD" Name="Demoprojekt">
              <Component Id="comp_dir_6F426CBE_A53A_4EF7_B26A_4627149675FD" Guid="93E5185C-4513-44D3-8772-32BEFB9DD4F5">
                <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_dir_6F426CBE_A53A_4EF7_B26A_4627149675FD" Type="string" Value="New Folder #1 directory" KeyPath="yes" />
                <RemoveFolder Id="id_7C601064_2404_4C07_8291_1A4D8C651C83" On="uninstall" Directory="dir_6F426CBE_A53A_4EF7_B26A_4627149675FD" />
              </Component>
              <Component Id="comp_68518566_D6D5_48AD_82B1_ABD526245874" Guid="E04E58B8-FF89-469F-8F31-1601086B4B39" Permanent="no" SharedDllRefCount="no" Transitive="no">
                <File Id="_B4C0CFAC_C4BC_4BA1_A967_F3B9B973BDDD" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="3D-Linie_Chemie_Alkane.cvo" Source="C:UsersMkakerAppDataRoamingChartvizerDatenJansVorlagenD-Linie_Chemie_Alkane.cvo" />
                <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_68518566_D6D5_48AD_82B1_ABD526245874" Type="string" Value="Demoprojekt directory" KeyPath="yes" />
              </Component>
              <Component Id="comp_6CD2877B_F269_4F23_8FFC_42A62190756F" Guid="A506D44A-A246-4455-9868-2B4D8FFDE0A4" Permanent="no" SharedDllRefCount="no" Transitive="no">
                <File Id="_B8C08823_4B91_47B4_9E51_982A1298E05E" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="Linie_Chemie_Alkane.cvo" Source="C:UsersMkakerAppDataRoamingChartvizerDatenJansVorlagenLinie_Chemie_Alkane.cvo" />
                <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_6CD2877B_F269_4F23_8FFC_42A62190756F" Type="string" Value="Demoprojekt directory" KeyPath="yes" />
              </Component>
              <Component Id="comp_183A48F5_DEDD_4F62_927B_A695963C2013" Guid="337D69B8-639F-4C74-A9EA-90A41EFFEB53" Permanent="no" SharedDllRefCount="no" Transitive="no">
                <File Id="_B85A9129_2B6E_449A_9A89_B313397281C5" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="Linie_Mathematik_Funktion_y=x²k.cvo" Source="C:UsersMkakerAppDataRoamingChartvizerDatenJansVorlagenLinie_Mathematik_Funktion_y=x²k.cvo" />
                <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_183A48F5_DEDD_4F62_927B_A695963C2013" Type="string" Value="Demoprojekt directory" KeyPath="yes" />
              </Component>
              <Component Id="comp_823AA5A0_FBD2_4EE0_82D9_2A9AB05EFAD9" Guid="B0E29B36-EAC4-4398-A31D-2191EF98CDB8" Permanent="no" SharedDllRefCount="no" Transitive="no">
                <File Id="_8561266A_2779_424A_B81A_700F334A01A7" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="Siebanalyse.cvo" Source="C:UsersMkakerAppDataRoamingChartvizerDatenJansVorlagenSiebanalyse.cvo" />
                <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_823AA5A0_FBD2_4EE0_82D9_2A9AB05EFAD9" Type="string" Value="Demoprojekt directory" KeyPath="yes" />
              </Component>
              <Component Id="comp_002955CC_CEDA_467E_A80B_093B757ED8B9" Guid="733E5D7B-3A54-43BE-8AD4-FB401829F389" Permanent="no" SharedDllRefCount="no" Transitive="no">
                <File Id="_EF76DA74_65DE_4C97_B078_A38259AA5734" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="Siebanalyse01.cvt" Source="C:UsersMkakerAppDataRoamingChartvizerDatenJansVorlagenSiebanalyse01.cvt" />
                <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_002955CC_CEDA_467E_A80B_093B757ED8B9" Type="string" Value="Demoprojekt directory" KeyPath="yes" />
              </Component>
            </Directory>
            <Directory Id="dir_6C4EF221_8283_46B0_9C0C_8F57E59CA19B" Name="WebSlider">
              <Component Id="comp_dir_6C4EF221_8283_46B0_9C0C_8F57E59CA19B" Guid="0EBAED73-4F9F-4A4C-AE80-7FFADAD7BF84">
                <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_dir_6C4EF221_8283_46B0_9C0C_8F57E59CA19B" Type="string" Value="New Folder #1 directory" KeyPath="yes" />
                <RemoveFolder Id="id_5D0174A0_70CE_45FC_968C_8026842DFA98" On="uninstall" Directory="dir_6C4EF221_8283_46B0_9C0C_8F57E59CA19B" />
              </Component>
              <Component Id="comp_D0060D5E_0BBE_4B75_8981_4FE40F761FF9" Guid="F7135DF9-7014-4AA9-8FD5-75D64B078E43" Permanent="no" SharedDllRefCount="no" Transitive="no">
                <File Id="_0954D79D_F429_43AF_81C1_E755A3E56B59" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="01.cvo" Source="C:UsersMkakerAppDataRoamingChartvizerDatenWebseiten_Slider.cvo" />
                <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_D0060D5E_0BBE_4B75_8981_4FE40F761FF9" Type="string" Value="WebSlider directory" KeyPath="yes" />
              </Component>
              <Component Id="comp_43E11093_B0B1_4380_9467_73DAEDC66CD0" Guid="64A63A90-C228-48F9-A292-EF9D44805712" Permanent="no" SharedDllRefCount="no" Transitive="no">
                <File Id="_84BCDD5B_62DE_4C21_B8B6_A228BDBBF936" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="02.cvo" Source="C:UsersMkakerAppDataRoamingChartvizerDatenWebseiten_Slider.cvo" />
                <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_43E11093_B0B1_4380_9467_73DAEDC66CD0" Type="string" Value="WebSlider directory" KeyPath="yes" />
              </Component>
              <Component Id="comp_BE44318F_C71B_4BA6_B93E_CB2912F6C31E" Guid="4039144B-240E-40D9-B976-A9E2F07789C9" Permanent="no" SharedDllRefCount="no" Transitive="no">
                <File Id="_61CB78A9_B71B_4E24_8BA9_706AA949BFBD" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="03.cvo" Source="C:UsersMkakerAppDataRoamingChartvizerDatenWebseiten_Slider.cvo" />
                <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_BE44318F_C71B_4BA6_B93E_CB2912F6C31E" Type="string" Value="WebSlider directory" KeyPath="yes" />
              </Component>
              <Component Id="comp_0E05D3AE_F173_4F3C_BDE6_7DC265559F0B" Guid="2BE75B39-7271-4A71-80E4-550694CE445C" Permanent="no" SharedDllRefCount="no" Transitive="no">
                <File Id="_80C1B846_72D2_4E3D_9393_4EF4FF57256A" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="04.cvo" Source="C:UsersMkakerAppDataRoamingChartvizerDatenWebseiten_Slider.cvo" />
                <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_0E05D3AE_F173_4F3C_BDE6_7DC265559F0B" Type="string" Value="WebSlider directory" KeyPath="yes" />
              </Component>
              <Component Id="comp_4733B1FC_BAC0_4295_BFE5_5D0EB1CF1C7A" Guid="09A2B7F6-C9B5-4D98-B177-AE1F9429EC0C" Permanent="no" SharedDllRefCount="no" Transitive="no">
                <File Id="_23092547_300E_4BD9_AEB0_AA4409E21277" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="05.cvo" Source="C:UsersMkakerAppDataRoamingChartvizerDatenWebseiten_Slider.cvo" />
                <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_4733B1FC_BAC0_4295_BFE5_5D0EB1CF1C7A" Type="string" Value="WebSlider directory" KeyPath="yes" />
              </Component>
              <Component Id="comp_2BAC32D6_885F_4E1D_9E5C_FA15F6F781CA" Guid="6EC9F0FE-46CF-482B-AE71-089F7FDD31C1" Permanent="no" SharedDllRefCount="no" Transitive="no">
                <File Id="_48EFE6FC_965C_4005_A831_14948D86E5F3" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="06.cvo" Source="C:UsersMkakerAppDataRoamingChartvizerDatenWebseiten_Slider.cvo" />
                <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_2BAC32D6_885F_4E1D_9E5C_FA15F6F781CA" Type="string" Value="WebSlider directory" KeyPath="yes" />
              </Component>
              <Component Id="comp_F4692E35_72C9_4161_8522_9FEBE47A675B" Guid="CB5889E0-F63E-4337-8AB1-097B4EA250EA" Permanent="no" SharedDllRefCount="no" Transitive="no">
                <File Id="_EB6D7977_0897_4754_81BD_79302DF75A33" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="07.cvo" Source="C:UsersMkakerAppDataRoamingChartvizerDatenWebseiten_Slider.cvo" />
                <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_F4692E35_72C9_4161_8522_9FEBE47A675B" Type="string" Value="WebSlider directory" KeyPath="yes" />
              </Component>
              <Component Id="comp_BCA66D34_E9A7_413B_AB34_7F7065D26443" Guid="DA767133-EE45-4299-838A-0CB15A8B725D" Permanent="no" SharedDllRefCount="no" Transitive="no">
                <File Id="_036AAC74_4FB2_4C24_8731_9464D08C65BD" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="08.cvo" Source="C:UsersMkakerAppDataRoamingChartvizerDatenWebseiten_Slider8.cvo" />
                <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_BCA66D34_E9A7_413B_AB34_7F7065D26443" Type="string" Value="WebSlider directory" KeyPath="yes" />
              </Component>
              <Component Id="comp_7FB326C8_B2A1_4B3F_A3D7_A7DFD04A78E6" Guid="5F490119-F33A-4037-85BF-2561DCA874D0" Permanent="no" SharedDllRefCount="no" Transitive="no">
                <File Id="_6B4D8334_5EEA_4D25_916E_D47CB3DCA85D" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="09.cvo" Source="C:UsersMkakerAppDataRoamingChartvizerDatenWebseiten_Slider9.cvo" />
                <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_7FB326C8_B2A1_4B3F_A3D7_A7DFD04A78E6" Type="string" Value="WebSlider directory" KeyPath="yes" />
              </Component>
              <Component Id="comp_9B5FA02F_2F77_4B36_84A4_E1469F7D131E" Guid="B036CEE7-8892-41AE-B7B8-49FA2C18D2D7" Permanent="no" SharedDllRefCount="no" Transitive="no">
                <File Id="_65BA90CF_9355_47C7_92BF_53B800FF2797" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="10.cvo" Source="C:UsersMkakerAppDataRoamingChartvizerDatenWebseiten_Slider.cvo" />
                <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_9B5FA02F_2F77_4B36_84A4_E1469F7D131E" Type="string" Value="WebSlider directory" KeyPath="yes" />
              </Component>
              <Component Id="comp_EBDA62E8_F03B_4FAF_AAA4_7930608CEDAD" Guid="743654F6-D62A-4C55-AB4E-47851C1AFD50" Permanent="no" SharedDllRefCount="no" Transitive="no">
                <File Id="_AEBFE182_94D8_4CFD_A287_7D4FFB88F1B7" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="11.cvo" Source="C:UsersMkakerAppDataRoamingChartvizerDatenWebseiten_Slider	.cvo" />
                <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_EBDA62E8_F03B_4FAF_AAA4_7930608CEDAD" Type="string" Value="WebSlider directory" KeyPath="yes" />
              </Component>
              <Component Id="comp_DE18D145_7444_487B_BB9C_26DBC2299899" Guid="8FED82CD-2518-4546-B70E-3FDB31BA36C7" Permanent="no" SharedDllRefCount="no" Transitive="no">
                <File Id="_8CC139BC_BEEC_4BF0_A08E_DC06B8E8EF73" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="12.cvo" Source="C:UsersMkakerAppDataRoamingChartvizerDatenWebseiten_Slider
.cvo" />
                <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_DE18D145_7444_487B_BB9C_26DBC2299899" Type="string" Value="WebSlider directory" KeyPath="yes" />
              </Component>
              <Component Id="comp_EF3215F8_711D_4196_BF09_BA253AD7AAF4" Guid="2D36F498-733D-4AF9-A544-D89DE3FE5A46" Permanent="no" SharedDllRefCount="no" Transitive="no">
                <File Id="_68E66567_AD66_4BDD_B19D_CC3D8BDAE711" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="AxisBreaks.cvo_del" Source="C:UsersMkakerAppDataRoamingChartvizerDatenWebseiten_SliderAxisBreaks.cvo_del" />
                <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_EF3215F8_711D_4196_BF09_BA253AD7AAF4" Type="string" Value="WebSlider directory" KeyPath="yes" />
              </Component>
              <Component Id="comp_2CDE702E_140F_48C4_A4D6_588C7F5530CC" Guid="CF507459-92D3-4A5E-9E5F-4BD92906BC54" Permanent="no" SharedDllRefCount="no" Transitive="no">
                <File Id="_E08EC3C4_28C7_4C26_93C5_5B5CFAA9F6DE" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="CustomAxis.cvo" Source="C:UsersMkakerAppDataRoamingChartvizerDatenWebseiten_SliderCustomAxis.cvo" />
                <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_2CDE702E_140F_48C4_A4D6_588C7F5530CC" Type="string" Value="WebSlider directory" KeyPath="yes" />
              </Component>
              <Component Id="comp_01EA2DC1_9546_4A4F_89FB_7D6AABA2774E" Guid="7145E328-4DD4-4FA5-BD71-B95A786CC223" Permanent="no" SharedDllRefCount="no" Transitive="no">
                <File Id="_480149ED_A0F2_413D_8D3E_9697CE4EC2EB" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="NewSlider.cvo" Source="C:UsersMkakerAppDataRoamingChartvizerDatenWebseiten_SliderNewSlider.cvo" />
                <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_01EA2DC1_9546_4A4F_89FB_7D6AABA2774E" Type="string" Value="WebSlider directory" KeyPath="yes" />
              </Component>
              <Component Id="comp_A5815934_938C_4966_9A1B_B4A54D3E6A8D" Guid="2F06B4C9-8105-4584-A48F-C51BD49E7F93" Permanent="no" SharedDllRefCount="no" Transitive="no">
                <File Id="_A63067AB_A7BC_45C8_AA21_1565451B24E1" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="SubCharts01.cvo" Source="C:UsersMkakerAppDataRoamingChartvizerDatenWebseiten_SliderSubCharts01.cvo" />
                <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_A5815934_938C_4966_9A1B_B4A54D3E6A8D" Type="string" Value="WebSlider directory" KeyPath="yes" />
              </Component>
              <Component Id="comp_64E75EFA_B134_43D7_BC07_B46F22539FCB" Guid="62A5E801-9CB7-404B-ACD3-03F0EF43E6D4" Permanent="no" SharedDllRefCount="no" Transitive="no">
                <File Id="_822FDEE3_94F8_455C_9600_EEFC169FC01E" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="SubCharts02.cvo" Source="C:UsersMkakerAppDataRoamingChartvizerDatenWebseiten_SliderSubCharts02.cvo" />
                <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_64E75EFA_B134_43D7_BC07_B46F22539FCB" Type="string" Value="WebSlider directory" KeyPath="yes" />
              </Component>
            </Directory>
          </Directory>
          <Directory Id="dir_2681FD5B_FC14_490E_8157_003AAD510DA8" Name="Starter">
            <Component Id="comp_dir_2681FD5B_FC14_490E_8157_003AAD510DA8" Guid="42806CFF-9835-4FE6-BF4F-96027BA578BF">
              <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_dir_2681FD5B_FC14_490E_8157_003AAD510DA8" Type="string" Value="New Folder #2 directory" KeyPath="yes" />
              <RemoveFolder Id="id_08DCEFEB_574A_43CF_92DE_0CD3B000B00E" On="uninstall" Directory="dir_2681FD5B_FC14_490E_8157_003AAD510DA8" />
            </Component>
          </Directory>
          <Directory Id="dir_74C1A404_50BF_4E13_8FDC_44658AC621FA" Name="Templates">
            <Component Id="comp_dir_74C1A404_50BF_4E13_8FDC_44658AC621FA" Guid="C0136272-48FC-4540-8839-752081C3C802">
              <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_dir_74C1A404_50BF_4E13_8FDC_44658AC621FA" Type="string" Value="New Folder #1 directory" KeyPath="yes" />
              <RemoveFolder Id="id_5CA5EF2E_CE78_4313_9EB1_22F948A29315" On="uninstall" Directory="dir_74C1A404_50BF_4E13_8FDC_44658AC621FA" />
            </Component>
          </Directory>
          <Directory Id="dir_6AB40244_A318_4AE1_B67B_A794947FB8AA" Name="tmp">
            <Component Id="comp_dir_6AB40244_A318_4AE1_B67B_A794947FB8AA" Guid="32BB3AE8-10B0-45B5-8F56-3A6B6875B319">
              <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_dir_6AB40244_A318_4AE1_B67B_A794947FB8AA" Type="string" Value="New Folder #1 directory" KeyPath="yes" />
              <RemoveFolder Id="id_DDC23227_491A_4066_B06D_043144490AF2" On="uninstall" Directory="dir_6AB40244_A318_4AE1_B67B_A794947FB8AA" />
            </Component>
            <Component Id="comp_7A8ABDF0_3E63_4868_BD0C_F6CC40745801" Guid="3B1D1E09-2F20-43DB-AB63-7A0D211DCECD" Permanent="no" SharedDllRefCount="no" Transitive="no">
              <File Id="_66A12A3A_AFD0_4393_BA40_80EE41D4D7DA" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="version.txt" Source="C:UsersMkakerDocumentsVisual Studio 2012ProjectsMyAddInMyAddInersion.txt" />
              <RegistryValue Root="HKCU" Key="Software[Manufacturer][ProductName]Installer" Name="comp_7A8ABDF0_3E63_4868_BD0C_F6CC40745801" Type="string" Value="tmp directory" KeyPath="yes" />
            </Component>
          </Directory>
        </Directory>
      </Directory>
      <Directory Id="SystemFolder">
        <Component Id="comp_D4CDE868_3221_4981_AAD7_4B60F48226B5" Guid="7186F057-F442-40B2-A24D-FE0EFF6ECF47" Permanent="no" SharedDllRefCount="no" Transitive="no">
          <File Id="_E9656258_86BB_4A81_89B1_20D10A1AE578" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="coralib3d.dll" Source="C:Program Files (x86)Campbell Scientific LtdMobile Data Assistantcoralib3d.dll" KeyPath="yes" />
        </Component>
        <Component Id="comp_346D12E3_05B8_4136_88C6_06E2739561A9" Guid="0F5C85F3-CAA0-4137-9A4F-9F6893FFB03F" Permanent="no" SharedDllRefCount="no" Transitive="no">
          <File Id="_B814EA2C_2178_4E04_A31A_E1443D444185" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="simplepb.dll" Source="C:Program Files (x86)Campbell Scientific LtdMobile Data Assistantsimplepb.dll" KeyPath="yes" />
        </Component>
        <Component Id="comp_EFEFF4B4_5F66_49CC_A471_0BADD6340E71" Guid="E9F7A27D-1469-422F-86F4-500802C5CCBA" Permanent="no" SharedDllRefCount="no" Transitive="no">
          <File Id="_44669760_453D_4B79_B4B5_7059F1008519" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="sevPopUp.dll" Source="C:Program Files (x86)sevPopUpsevPopUp.dll" KeyPath="yes" />
        </Component>
      </Directory>
      <Component Id="ProductComponent" Guid="aef02638-6c4e-4fd4-9822-a4505c37bac9" DiskId="1" Directory="INSTALLFOLDER">
        <RegistryKey Root="HKCU" Key="Software[Manufacturer][ProductName]">
          <RegistryValue Type="string" Name="Installed" Value="[INSTALLFOLDER]" KeyPath="yes" />
        </RegistryKey>
        <File Id="_$(var.MyAddIn.TargetName)_dll" Name="$(var.MyAddIn.TargetFileName)" Source="$(var.MyAddIn.TargetPath)" KeyPath="yes" />
        <File Id="_adxloader_dll_manifest" Name="adxloader.dll.manifest" Source="$(var.MyAddIn.ProjectDir)Loader" />
        <File Id="_adxloader_dll" Name="adxloader.dll" Source="$(var.MyAddIn.ProjectDir)Loader" />
        <File Id="_adxloader64_dll" Name="adxloader64.dll" Source="$(var.MyAddIn.ProjectDir)Loader" />
        <File Id="_AddinExpress_MSO_2005_dll" Name="AddinExpress.MSO.2005.dll" Source="C:Program Files (x86)Add-in ExpressAdd-in Express for .NETBin" />
        <File Id="_AddinExpress_WD_2005_dll" Name="AddinExpress.WD.2005.dll" Source="C:Program Files (x86)Add-in ExpressAdd-in Express for .NETBin" />
        <File Id="_AddinExpress_XL_2005_dll" Name="AddinExpress.XL.2005.dll" Source="C:Program Files (x86)Add-in ExpressAdd-in Express for .NETBin" />
        <File Id="_ADODB_dll" Name="ADODB.dll" Source="C:WindowsssemblyGACADODB.0.3300.0__b03f5f7f11d50a3a" />
        <File Id="_BugzScoutDotNet_dll" Name="BugzScoutDotNet.dll" Source="$(var.MyAddIn.TargetDir)" />
        <File Id="_MyAddInCore_dll" Name="MyAddInCore.dll" Source="$(var.MyAddIn.TargetDir)" />
        <File Id="_Microsoft_Office_Interop_Access_dll" Name="Microsoft.Office.Interop.Access.dll" Source="$(var.MyAddIn.TargetDir)" />
        <File Id="_Microsoft_Office_Interop_Excel_dll" Name="Microsoft.Office.Interop.Excel.dll" Source="$(var.MyAddIn.TargetDir)" />
        <File Id="_Microsoft_Office_Interop_InfoPath_dll" Name="Microsoft.Office.Interop.InfoPath.dll" Source="$(var.MyAddIn.TargetDir)" />
        <File Id="_Microsoft_Office_Interop_PowerPoint_dll" Name="Microsoft.Office.Interop.PowerPoint.dll" Source="$(var.MyAddIn.TargetDir)" />
        <File Id="_Microsoft_Office_Interop_Word_dll" Name="Microsoft.Office.Interop.Word.dll" Source="$(var.MyAddIn.TargetDir)" />
        <File Id="_Rebex_Security_dll" Name="Rebex.Security.dll" Source="$(var.MyAddIn.TargetDir)" />
        <File Id="_sev_Command_dll" Name="sev.Command.dll" Source="$(var.MyAddIn.TargetDir)" />
        <File Id="_sev_Mail_dll" Name="sev.Mail.dll" Source="$(var.MyAddIn.TargetDir)" />
        <File Id="_sev_OutBar_dll" Name="sev.OutBar.dll" Source="$(var.MyAddIn.TargetDir)" />
        <File Id="_stdole_dll" Name="stdole.dll" Source="C:WindowsssemblyGACstdole.0.3300.0__b03f5f7f11d50a3a" />
        <File Id="_Telerik_WinControls_dll" Name="Telerik.WinControls.dll" Source="C:WindowsMicrosoft.NetssemblyGAC_MSILTelerik.WinControls4.0_2013.3.1328.40__5bb2a467cbec794e" />
        <File Id="_Telerik_WinControls_UI_dll" Name="Telerik.WinControls.UI.dll" Source="C:WindowsMicrosoft.NetssemblyGAC_MSILTelerik.WinControls.UI4.0_2013.3.1328.40__5bb2a467cbec794e" />
        <File Id="_TelerikCommon_dll" Name="TelerikCommon.dll" Source="C:WindowsMicrosoft.NetssemblyGAC_MSILTelerikCommon4.0_2013.3.1328.40__5bb2a467cbec794e" />
        <File Id="_MyAddIn_dll_config" Name="MyAddIn.dll.config" Source="$(var.MyAddIn.TargetDir)" />
        <File Id="_Database1_sdf" Name="Database1.sdf" Source="$(var.MyAddIn.TargetDir)" />
        <File Id="_Microsoft_Office_Interop_Excel_xml" Name="Microsoft.Office.Interop.Excel.xml" Source="$(var.MyAddIn.TargetDir)" />
        <File Id="_Microsoft_Office_Interop_InfoPath_Xml_dll" Name="Microsoft.Office.Interop.InfoPath.Xml.dll" Source="$(var.MyAddIn.TargetDir)" />
        <File Id="_Microsoft_Office_Interop_Word_xml" Name="Microsoft.Office.Interop.Word.xml" Source="$(var.MyAddIn.TargetDir)" />
        <File Id="_Rebex_Common_dll" Name="Rebex.Common.dll" Source="$(var.MyAddIn.TargetDir)" />
        <File Id="_Rebex_Common_xml" Name="Rebex.Common.xml" Source="$(var.MyAddIn.TargetDir)" />
        <File Id="_Rebex_Security_xml" Name="Rebex.Security.xml" Source="$(var.MyAddIn.TargetDir)" />
        <File Id="_sev_Command_xml" Name="sev.Command.xml" Source="$(var.MyAddIn.TargetDir)" />
        <File Id="_sev_ImageLib_dll" Name="sev.ImageLib.dll" Source="$(var.MyAddIn.TargetDir)" />
        <File Id="_sev_ImageLib_xml" Name="sev.ImageLib.xml" Source="$(var.MyAddIn.TargetDir)" />
        <File Id="_sev_Mail_xml" Name="sev.Mail.xml" Source="$(var.MyAddIn.TargetDir)" />
        <File Id="_sev_OutBar_xml" Name="sev.OutBar.xml" Source="$(var.MyAddIn.TargetDir)" />
      </Component>
    </Directory>
  </Fragment>
  <Fragment>
    <ComponentGroup Id="ProductComponents">
    </ComponentGroup>
  </Fragment>
</Wix>
Posted 04 Apr, 2014 04:05:31 Top
Dmitry Kostochko


Add-in Express team


Posts: 2731
Joined: 2004-04-05
Hello Ma,

Which of our products did you use to generate this WiX setup project? Did you change the content of the Product.wxs file manually?
Posted 04 Apr, 2014 04:26:01 Top
Ma ka




Posts: 75
Joined: 2011-02-25
Hi,

iam using Addin Express for MS Office and Net to generate the WIX Setup Projekt and the WIX Designer Beta to modify the Folders, Files etc. like i had them in the VDProj, because the conversion of the VDProj to WIX conversion result does not work on target machines.

I don't change content manually

Thanks
Posted 04 Apr, 2014 05:22:19 Top
Dmitry Kostochko


Add-in Express team


Posts: 2731
Joined: 2004-04-05
Hello Ma,

Thank you for the details.

So, I can assume you have found a bug in the WiX Designer product. Could you please let me know what exactly you did in the WiX Designer designers before getting this compilation error? As you understand I need to reproduce the bug on our side to be able to fix it.
Posted 04 Apr, 2014 06:09:14 Top
Ma ka




Posts: 75
Joined: 2011-02-25
Hi,

1. i have converted my VDProj to WIX with the conversion tool (because i have changed my devEnv to VS2012)
2. After checking the result - no functional setup - i generate an new WIX project based on my AddIn Project
3. Then i found out that i have to modify some folders on the target machines, to store some AddIn Data in the Roaming folder of the user
4. After you told me the counterpart to the Rouming folder i moved my folder an file structure per drag an drop from the converted project to the new generated project to get back an functionial setup like i had with the VDProj
5. The Error occurs

Thanks
Posted 04 Apr, 2014 06:40:45 Top
Dmitry Kostochko


Add-in Express team


Posts: 2731
Joined: 2004-04-05
Hi Ma,

Thank you for the explanation.

Yes, this is a bug in WiX Designer, the drag-n-drop of folders or files between different projects should not work. We will try to fix it in the release version.

Please do not drag folders from one WiX project to another.
Posted 04 Apr, 2014 08:12:58 Top