[wix-users] Error while referencing PackgroupRef

Farrukh Waheed farrukh1 at gmail.com
Wed Jun 14 23:08:02 PDT 2017

Hi guys,
Simply, if I include NetFx461Redist, it would complain:
"The Windows Installer XML variable 'WixMbaPrereqPackageId' is declared in
more than one location. Please remove one of the declarations"

here is my code snippet:

      <PackageGroupRef Id         = "NetFx461Redist"  />


I think, using PackageGroupRef like this would include the
whole NetFx461.wxs inline, and as these are already defined in WixLibs, so
it would complain about the duplicate declaration.

So Is there any other way to use WiX libraries, other than copying the code
from NetFx461.wxs while updating ids?


More information about the wix-users mailing list