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

Building installer with WixUI_Mondo fails with culture fi-FI #4417

Closed
wixbot opened this issue May 15, 2014 · 3 comments
Closed

Building installer with WixUI_Mondo fails with culture fi-FI #4417

wixbot opened this issue May 15, 2014 · 3 comments

Comments

@wixbot
Copy link

wixbot commented May 15, 2014

I've tried creating installer based on WixUI_Mondo dialog set. My setup is pretty simple, basically I've just added ui reference to WixUI_Mondo. This works very nicely until I create localization file with culture fi-FI.

After that I'm getting exception

light.exe(0,0): error LGHT0001: Cannot set column 'Attributes' with value -2147483645 because it is less than the minimum allowed value for this column, 0.
1>      Exception Type: System.InvalidOperationException
1>      Stack Trace:
1>         at WixToolset.Data.ColumnDefinition.ValidateValue(Object value)
1>         at WixToolset.Data.Field.set_Data(Object value)
1>         at WixToolset.Binder.LocalizeUI(TableIndexedCollection tables)
1>         at WixToolset.Binder.BindDatabase(Output output, String databaseFile)
1>         at WixToolset.Binder.Bind(Output output, String file)
1>         at WixToolset.Tools.Light.Run()
1>         at WixToolset.Tools.Light.Execute(String[] args)
1>      The command exited with code 1.
1>  Done executing task "Light" -- FAILED.

I've tracked down that a little bit and it seems that it leads to ErrorDlg and to control

<Control Id="R" Type="PushButton" X="100" Y="80" Width="56" Height="17" TabSkip="yes" Text="!(loc.WixUIRetry)">
     <Publish Event="EndDialog" Value="ErrorRetry">1</Publish>
</Control>

Which has been localized in WixUI_fi-FI.wxl like this:

<UI Dialog="ErrorDlg" Control="R" Width="64" />

Could this be that I'm missing something from my setup?

Originally opened by janne.rantala

@wixbot
Copy link
Author

wixbot commented May 18, 2014

Which version of WiX are you using?

@wixbot
Copy link
Author

wixbot commented May 22, 2014

Works in v3.x.

Release changed from v4.x to v4.0

@wixbot
Copy link
Author

wixbot commented May 22, 2014

Initially I had 4.0.1621.0 but I could also reproduce this with latest sources.

Originally posted by janne.rantala

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