Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error LGHT0001: Cannot set column 'Attributes' with value -2147483645 because it is less than the minimum allowed value for this column, 0. #4762

Closed
wixbot opened this issue May 14, 2015 · 3 comments

Comments

@wixbot
Copy link

wixbot commented May 14, 2015

The following error is thrown when including a UI in the project and calling light.exe with the pt-br culture:
light.exe -cultures:"pt-BR,en-us"

error LGHT0001: Cannot set column 'Attributes' with value -2147483645 because it is less than the minimum allowed value for this column, 0.

Exception Type: System.InvalidOperationException

Stack Trace:
 at WixToolset.Data.ColumnDefinition.ValidateValue(Object value)
 at WixToolset.Data.Field.set_Data(Object value)
 at WixToolset.Binder.LocalizeUI(TableIndexedCollection tables)
 at WixToolset.Binder.BindDatabase(Output output, String databaseFile)
 at WixToolset.Binder.Bind(Output output, String file)
 at WixToolset.Tools.Light.Run()
 at WixToolset.Tools.Light.Execute(String[] args)

The problem is triggered by the UI element(s) which have been introduced in the pt-Br localization a while ago:
<UI Dialog="ErrorDlg" Control="R" Width="80" />

Relevant git commit:
wixtoolset/wix@ff00926

The same problem has previously been reported for the fi-FI localization:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Building-installer-with-WixUI-Mondo-fails-with-culture-fi-FI-td7594731.html

Originally opened by mberchtold

@wixbot
Copy link
Author

wixbot commented May 15, 2015

AssignedTo changed from bobarnson to

@wixbot
Copy link
Author

wixbot commented May 19, 2015

AssignedTo set to robmen

@wixbot wixbot added this to the v4.0 milestone Dec 20, 2015
@rseanhall rseanhall added this to Needs investigation in wix.4.0-preview.0 Nov 16, 2020
@robmen
Copy link
Member

robmen commented Jan 7, 2021

Duplicate of #4417

@robmen robmen marked this as a duplicate of #4417 Jan 7, 2021
@robmen robmen closed this as completed Jan 7, 2021
wix.4.0-preview.0 automation moved this from Needs investigation to Done Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

3 participants