Hi,
Can someone help whit this : Referencing a merge module which creates a database: Fls.Xxx.Install.msi content: Line 58 <Merge Id="Fls.Xxx.Config.Module" Language="1033" SourceFile="$(var.SolutionDir)\Fls.Xxx.Config.Module.msm" DiskId="1" /> Fls.Xxx.Config.Module.msm content: <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:sql="http://schemas.microsoft.com/wix/SqlExtension" RequiredVersion="3.0.4909.0"> <Module Id="Fls.Xxx.DB.Module" Language="1033" Version="8.3.0.0"> <Package Id="GUID_Package" Manufacturer="Xxx A/S" InstallerVersion="200" /> <Binary Id="createConfig1" SourceFile="$(var.SolutionDir)Msm\$(var.Configuration)\Fls.Xxx.Config.DB.CreateDatabase.sql" /> <sql:SqlDatabase Id="MasterDatabase" Database="master" Server="localhost" /> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="MergeRedirectFolder"> <Component Id="Fls.Xxx.Databases" Guid="{GUID_Component}" KeyPath="yes"> <sql:SqlScript Id="createConfigSql1" SqlDb="MasterDatabase" BinaryKey="createConfig1" ExecuteOnInstall="yes" Sequence="1"/> </Component> </Directory> </Directory> </Module> </Wix> Results in the following error when running WiX3.6.2221: [Mixed Platforms/Debug] [some path]\Fls.Xxx.Install\Fls.Xxx.Install.wxs(58,0): error LGHT1056: The Property table contains a row with primary key(s) 'MsiHiddenProperties' which cannot be merged from the merge module '[some path]\Debug\Fls.Core.DB.Module.msm'. This is likely due to collision of rows with the same primary key(s) (but other different values in other columns) between the database and the merge module. When I open the msm in Orca -> Properties Tables i find a Property MsiHiddenProperties with Value CreateDatebase;ect Installing WiX 3.6.1022 and compiling do not result in the above error. Thanks Per ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users