The following code causes MyApp.wxs(MyLineNo) : error LGHT0130 : The primary key 'regCEECC3C927D10BCB192BEE13F4F46715' is duplicated in table 'Registry'. Please remove one of the entries or rename a part of the primary key to avoid the collision.
<Directory Id="ProgramFilesFolder" SourceName="program files" ShortSourceName="PROGRA~1"> <Directory Id="APPLICATIONFOLDER" Name="MyApp" ShortName="MyAppShortName" DiskId="1"> <Component Id="MainApplication" Guid="MyGuid1"> ... <ProgId Id="MyApp.MyDocType" Description="[ProductName] Document" Icon="ID_MyGuid2" IconIndex="1"> <Extension Id="wpl"> <Verb Id="Open" Command="Open" TargetFile="ID_MyGuid3" Argument="/dde" /> </Extension> <Extension Id="wow-playlist"> <Verb Id="Open" Command="Open" TargetFile="ID_MyGuid3" Argument="/dde" /> </Extension> </ProgId> Removing one of the Extension elements fixes this error. The application has two extensions since we need to support the old three letter extension that many users' files still use while new documents are created with a longer extension that does not conflict with Windows Media Player. The Wix documentation indicates that multiple Extension elements are supported. Am I doing anything wrong? TIA, Nathan -- View this message in context: http://n2.nabble.com/Multiple-file-extensions-per-ProgID-tp2580359p2580359.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users