[wix-users] AllowDuplicateDirectoryIds build error

Bob Arnson bob at firegiant.com
Tue May 9 16:57:41 PDT 2017


Something's out of sync. Check `findstr /m AllowDuplicateDirectoryIds *` on your WiX directory.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of robert_yang at agilent.com
Sent: Tuesday, 9 May, 2017 19:18
To: wix-users at lists.wixtoolset.org
Subject: Re: [wix-users] AllowDuplicateDirectoryIds build error

So basically I changed the .wixproj to use "Wix3.11.0.1701" instead of "Wix3.10.3.3007" after extracting the Wix 3.11 binary zipfile into it, and now the project no longer compiles.

I did a google search for "Wix AllowDuplicateDirectoryIds" and there is not much to go on :

http://wixtoolset.org/documentation/manual/v3/msbuild/task_reference/light.html

https://www.firegiant.com/blog/2016/3/8/wix-online-meeting-100-highlights/

The first link mentions "AllowDuplicateDirectoryIds" but has no explanation of it at all.  I'm not sure if the second link is relevant, but apparently something like this was discussed two months ago.

Can I just assume we should stick with 3.10.3 until 4.0 comes out, or is there something that needs to change in the .wixproj to make it work with 3.11 ?

From: YANG,ROBERT (A-SantaClara,ex1)
Sent: Monday, May 08, 2017 3:10 PM
To: 'wix-users at lists.wixtoolset.org' <wix-users at lists.wixtoolset.org>
Subject: AllowDuplicateDirectoryIds build error

Hi, I just started converting one of our 3.10.3 projects to 3.11.0.1701 and am seeing the following error messages :

c:\WixVersions\Wix3.11.0.1701\wix2010.targets(2439,7): error MSB4064: The "AllowDuplicateDirectoryIds" parameter is not supported by the "Light" task. Verify the parameter exists on the task, and it is a settable public instance property.
c:\WixVersions\Wix3.11.0.1701\wix2010.targets(2435,5): error MSB4063: The "Light" task could not be initialized with its input parameters.

The .wixproj project file contains the following :

  <PropertyGroup>
    <WixToolPath>c:\WixVersions\Wix3.11.0.1701\</WixToolPath>
    <WixTargetsPath>$(WixToolPath)Wix.targets</WixTargetsPath>
    <WixTasksPath>$(WixToolPath)WixTasks.dll</WixTasksPath>
  </PropertyGroup>

This is so we can build Wix installers from an automated process (we've been doing this for a while), as per this help page :

http://wixtoolset.org/documentation/manual/v3/msbuild/daily_builds.html

Any idea what might be wrong or how to fix it ?

Thanks !
-Rob

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list