I just updated from a previous beta (3.0.5006.0) to the release version 
(3.0.5419.0). The new version breaks in a spot where the old version did not. 
Here is an example wxs that is now broken. The component info came from running 
Heat against a COM component. The old and new versions of heat are generating 
equivalent output.

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
        <Product Id="7a31d840-9af4-4354-b38d-5385aa22206f" Name="WixProject1" 
Language="1033" Version="1.0.0.0" Manufacturer="WixProject1" 
UpgradeCode="de549ce9-c847-4e79-ad13-a2f15bd6aeaa">
                <Package InstallerVersion="200" Compressed="yes" />

                <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />

                <Directory Id="TARGETDIR" Name="SourceDir">
                        <Directory Id="ProgramFilesFolder">
                                <Directory Id="INSTALLLOCATION" 
Name="WixProject1">
          <Component Id="Vsflex7.ocx" 
Guid="{1180617C-E036-4AA5-977C-F4AF2A6E2A1B}" Permanent="yes" 
SharedDllRefCount="yes">
            <File Id="vsflex7.ocx" Name="vsflex7.ocx" KeyPath="yes" 
Source="c:\windows\system32\vsflex7.ocx">
              <TypeLib Id="{D76D7128-4A96-11D3-BD95-D296DC2DD072}" 
Description="ComponentOne VSFlexGrid 7.1 (OLEDB)" Language="0" MajorVersion="1" 
MinorVersion="0">
                <Class Id="{D76D712E-4A96-11D3-BD95-D296DC2DD072}" 
Context="InprocServer32" Description="ComponentOne FlexGrid 7.1 (OLEDB)" 
ThreadingModel="apartment" Version="1.0" Insertable="yes" Programmable="yes" 
Control="yes">
                  <ProgId Id="VSFlexGrid.VSFlexGrid.1" 
Description="ComponentOne FlexGrid 7.1 (OLEDB)">
                    <ProgId Id="VSFlexGrid.VSFlexGrid" 
Description="ComponentOne FlexGrid 7.1 (OLEDB)"/>
                  </ProgId>
                  <ProgId Id="VSFlexGrid.VSFlexGridADO.1" 
Description="ComponentOne FlexGrid 7.1 (OLEDB)">
                    <ProgId Id="VSFlexGrid.VSFlexGridADO" 
Description="ComponentOne FlexGrid 7.1 (OLEDB)"/>
                  </ProgId>
                </Class>
                <Interface Id="{82F2E220-92E8-11D3-9A1D-F2A67FD05A28}" 
Name="IVSFlexNode" ProxyStubClassId="{00020424-0000-0000-C000-000000000046}" 
ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}"/>
                <Interface Id="{8E203240-537D-11D3-BD8C-000000000000}" 
Name="IVSFlexDataSource" 
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}" 
ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}"/>
                <Interface Id="{D76D7129-4A96-11D3-BD95-D296DC2DD072}" 
Name="IVSDataObject" ProxyStubClassId="{00020424-0000-0000-C000-000000000046}" 
ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}"/>
                <Interface Id="{D76D712B-4A96-11D3-BD95-D296DC2DD072}" 
Name="IVSFlexGrid" ProxyStubClassId="{00020424-0000-0000-C000-000000000046}" 
ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}"/>
                <Interface Id="{D76D712C-4A96-11D3-BD95-D296DC2DD072}" 
Name="_IVSFlexGridEvents" 
ProxyStubClassId="{00020420-0000-0000-C000-000000000046}" 
ProxyStubClassId32="{00020420-0000-0000-C000-000000000046}"/>
              </TypeLib>
            </File>
            <RegistryValue Root="HKCR" 
Key="CLSID\{D76D712E-4A96-11d3-BD95-D296DC2DD072}\MiscStatus\1" Value="229777" 
Type="string" Action="write"/>
            <RegistryValue Root="HKCR" 
Key="CLSID\{D76D712E-4A96-11d3-BD95-D296DC2DD072}\MiscStatus" Value="0" 
Type="string" Action="write"/>
            <RegistryValue Root="HKCR" 
Key="CLSID\{D76D712E-4A96-11d3-BD95-D296DC2DD072}\ToolboxBitmap32" 
Value="[!vsflex7.ocx], 1" Type="string" Action="write"/>
            <RegistryValue Root="HKCR" 
Key="CLSID\{D76D712E-4A96-11d3-BD95-D296DC2DD072}\Verb\0" 
Value="&Properties...,0,2" Type="string" Action="write"/>
          </Component>
                                </Directory>
                        </Directory>
                </Directory>

                <Feature Id="ProductFeature" Title="WixProject1" Level="1">
                         <ComponentRef Id="Vsflex7.ocx" />
                </Feature>
        </Product>
</Wix>

When this is built from the Visual Studio IDE, the following light error is 
reported:
The primary key 'reg9E628BEF3A06AFE38E6E9953798192B0' is duplicated in table 
'Registry'.  Please remove one of the entries or rename a part of the primary 
key to avoid the collision.

If I remove the second ProgID reference (VSFlexGrid.VSFlexGridADO.1) from the 
class, then the build works, but clients that use late binding against that ID 
become broken.

I'm going to revert back to build 5006 for now. Is this a bug that I should 
report?

- Don Benson -
Tribute Inc.

CONFIDENTIALITY NOTICE: This email and any files transmitted with it are the 
property of Tribute Inc. and/or its affiliates. The contents of this 
communication are confidential and may contain information that is privileged 
and/or exempt from disclosure under applicable law. It is intended solely for 
use of the individual or entity to whom this email is addressed. If you are not 
one of the named recipient(s) or otherwise have reason to believe that you have 
received this message in error, please notify the sender and immediately delete 
this message and any attachments. Any unauthorized use, retention, 
dissemination, forwarding, printing, or copying of this email is strictly 
prohibited.

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to