6

I have created a setup for my web application using wix 3.7 but on building the WIX setup I got the following Error.

error LGHT0195: The Windows Installer XML variable 'WixUICostingPopupOptOut' is declared in more than one location.  Please remove one of the declarations.

I have searched a lot and got this solution. I have added code below to my Product.wxs

<WixVariable Id="WixUICostingPopupOptOut" Overridable="yes" Value="1"/>

Not worked for me. Kindly help to fixing this issue.

Thanks

Yan Sklyarenko
  • 31,557
  • 24
  • 104
  • 139
Adiee
  • 137
  • 1
  • 12

2 Answers2

6

Did A quick search and found this link http://www.joyofsetup.com/2010/10/09/experimental-results-part-ii/. "If you’ve built a customized dialog set, remove the WixUICostingPopupOptOut WiX variable definition from your dialog set fragment"

Shashwat Gupta
  • 617
  • 2
  • 6
  • 6
  • Thanks but it was issue of wix toolset version. Installed the latest version and it worked. – Adiee Jun 12 '13 at 11:28
0

I came across this issue while building an msi using 'WiX Toolset v3.11.2.4516' on Windows 10 and resolved it by adding <WixVariable Id="WixUICostingPopupOptOut" Value="0" /> in 'Product.wxs' file.

As mentioned in the above answer, for more details please refer the link: http://www.joyofsetup.com/2010/10/09/experimental-results-part-ii/

Nandan
  • 497
  • 2
  • 7
  • 18