cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
peter_kanerva
Flexera beginner

Error 1501 when compressing file with Chinese characters

Hi,

I'm trying to build merge module project in new build machine (Windows Server 2016). I got error:
fatal error -1501: Could not compress 'file name with Chinese characters' into MergeModule.CABinet.cab.
Same error with InstallShield and StandAloneBuilder.
IS version: InstallShield 2019 R2 Premier
Project works in old PC (Win7) correctly and other projects without Chinese characters works fine in new PC.
So what might be wrong, is there something missing from environment or something wrong in Windows settings maybe?
Labels (1)
0 Kudos
2 Replies
Flexera banna_k
Flexera

Re: Error 1501 when compressing file with Chinese characters

0 Kudos
Highlighted
peter_kanerva
Flexera beginner

Re: Error 1501 when compressing file with Chinese characters

Thank you banna_k,


I tried to change Windows system locale to Chinese and merge module builds without error. Great. However, another project with Finnish file names started to throw same -1501 error.
System locale change requires restart, so switching between languages cannot be used in this case.
Language packs are installed for English, Chinese and Finnish.

This is cab/unicode related thing, how to build different languages without changing system locale?

0 Kudos