You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
path\to\package.wxs(4) : error WIX0095: Multiple primary references were found for Component 'filbnxAhte7CMAiUkJkbiTH7FDb69c' in Feature 'WixDefaultFeature' and Feature 'WixDefaultFeature'.
path\to\package.wxs(5) : error WIX0095: Multiple primary references were found for Component 'filbnxAhte7CMAiUkJkbiTH7FDb69c' in Feature 'WixDefaultFeature' and Feature 'WixDefaultFeature'.
path\to\package.wxs(6) : error WIX0095: Multiple primary references were found for Component 'filbnxAhte7CMAiUkJkbiTH7FDb69c' in Feature 'WixDefaultFeature' and Feature 'WixDefaultFeature'.
path\to\package.wxs(7) : error WIX0095: Multiple primary references were found for Component 'filbnxAhte7CMAiUkJkbiTH7FDb69c' in Feature 'WixDefaultFeature' and Feature 'WixDefaultFeature'.
Expected Result
The files are going to different Subdirectorys, so there should not be duplicate anything, even though the file Names are the same. (The component ids are duplicated.)
Acknowledgements
I acknowledge that this is a fully completed bug report. It is not a question or attempt to get help debugging my issue (because those should be sent to Discussions).
The text was updated successfully, but these errors were encountered:
Naked files generated their ids using the attributes that are common to
both naked and clothed files. But naked files also support @subdirectory
to magic up a subdirectory in a specified directory (@Directory) or the
default INSTALLFOLDER. That subdirectory needs to factor in to the
generated file id (which is then used as the component id too).
Without it, generated ids for files with the same name but from
different @subdirectory values would be duplicated. (Authored file ids
must also continue to be supported.)
Naked files now generate different file and component ids. :(
Fixeswixtoolset/issues#8674
Naked files generated their ids using the attributes that are common to
both naked and clothed files. But naked files also support @subdirectory
to magic up a subdirectory in a specified directory (@Directory) or the
default INSTALLFOLDER. That subdirectory needs to factor in to the
generated file id (which is then used as the component id too).
Without it, generated ids for files with the same name but from
different @subdirectory values would be duplicated. (Authored file ids
must also continue to be supported.)
Naked files now generate different file and component ids. :(
Fixeswixtoolset/issues#8674
barnson
added a commit
to wixtoolset/wix
that referenced
this issue
Aug 4, 2024
Naked files generated their ids using the attributes that are common to
both naked and clothed files. But naked files also support @subdirectory
to magic up a subdirectory in a specified directory (@Directory) or the
default INSTALLFOLDER. That subdirectory needs to factor in to the
generated file id (which is then used as the component id too).
Without it, generated ids for files with the same name but from
different @subdirectory values would be duplicated. (Authored file ids
must also continue to be supported.)
Naked files now generate different file and component ids. :(
Fixeswixtoolset/issues#8674
WiX Version
5.0.1
.NET or MSBuild or Visual Studio Version
n/a
HeatWave Version
n/a
Windows Version
n/a
Repro Repo
No response
Repro Steps
wix build package.wxs
Actual Result
path\to\package.wxs(4) : error WIX0095: Multiple primary references were found for Component 'filbnxAhte7CMAiUkJkbiTH7FDb69c' in Feature 'WixDefaultFeature' and Feature 'WixDefaultFeature'.
path\to\package.wxs(5) : error WIX0095: Multiple primary references were found for Component 'filbnxAhte7CMAiUkJkbiTH7FDb69c' in Feature 'WixDefaultFeature' and Feature 'WixDefaultFeature'.
path\to\package.wxs(6) : error WIX0095: Multiple primary references were found for Component 'filbnxAhte7CMAiUkJkbiTH7FDb69c' in Feature 'WixDefaultFeature' and Feature 'WixDefaultFeature'.
path\to\package.wxs(7) : error WIX0095: Multiple primary references were found for Component 'filbnxAhte7CMAiUkJkbiTH7FDb69c' in Feature 'WixDefaultFeature' and Feature 'WixDefaultFeature'.
Expected Result
The files are going to different
Subdirectory
s, so there should not be duplicate anything, even though the fileName
s are the same. (The component ids are duplicated.)Acknowledgements
The text was updated successfully, but these errors were encountered: