cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
peter_kanerva
Level 2

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
(7) Replies

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

hello, were you able to find its solution?

 

0 Kudos
varul
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @umerch3614 : If you are trying to adding a language other then eng, from drive other then C drive, please try this KB suggestions.

https://community.flexera.com/t5/InstallShield-Knowledge-Base/Build-Error-1501-Compression-of-file-with-Unicode-filename/tac-p/245703#M1519

Simply use Drive C:, there wont be any special characters issues anymore.
Thanks, got solution from your comment

0 Kudos
varul
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @umerch3614 
Good to hear it worked, Please Click on  "ACCEPT AS SOLUTION" to help others find answers faster. Liked something? Click "KUDO".

This is not my post so i think thats why i can't mark your answer as "ACCEPT AS SOLUTION". I hope the post writer reads our message and marks it as solution.

Thanks

0 Kudos