[wix-users] AllowDuplicateDirectoryIds build error

robert_yang at agilent.com robert_yang at agilent.com
Tue May 9 16:18:27 PDT 2017


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



More information about the wix-users mailing list