[wix-users] "AllowDuplicateDirectoryIds" parameter is not supported by the "Light" task
John Zajac
jzajac2 at gmail.com
Fri Oct 23 09:02:42 PDT 2020
I have an MSI project which consumes a merge module project and I would
like to allow duplicate directory IDs, and I have been trying to do so as
described here:
https://wixtoolset.org/documentation/manual/v3/msbuild/task_reference/light.html
however still end up with compile error:
C:\Program Files
(x86)\MSBuild\Microsoft\WiX\v3.x\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. [pathtomy/mergemodule.wixproj]
C:\Program Files
(x86)\MSBuild\Microsoft\WiX\v3.x\wix2010.targets(2435,5): error MSB4063:
The "Light" task could not be initialized with its input parameters.
[pathtomy/mergemodule.wixproj]
note: that line in wix2010.targets is the Light task here:
<!-- Call light using the culture subdirectory for output -->
<Light
ObjectFiles="@(CompileObjOutput);@(WixObject);@(WixLibProjects);@(_ResolvedWixLibraryPaths)"
AdditionalOptions="$(LinkerAdditionalOptions)"
AllowIdenticalRows="$(AllowIdenticalRows)"
AllowDuplicateDirectoryIds="$(AllowDuplicateDirectoryIds)"
....
....
Before I continue down the path of getting the AllowDuplicateDirectoryIds
property to pass through to my msbuild maze and allow the light task to get
it's value, which isn't obvious how to do yet however I have a slightly
large and maybe complex project..:
1: Is this AllowDuplicateDirectoryIds supported or not, in wix3.10, or
wix3.11?
2: hardcoding in AllowDuplicateDirectoryIds="True" into
wix2010.targets doesn't seem to help either.
More information about the wix-users
mailing list