ketteringkid
Posts: 14
Joined: Thu Mar 20, 2014 8:30 pm

Remove Languages from the CLI

I ran into an issue with removing languages through the CLI. I have a multilingual installer that I would like to use a script to remove languages to make my debug builds faster. In this scenario, we have a multilingual installer converged into a single installation package with a language selector. Regardless, if I remove all languages but english through the CLI, and generate the build, the package launches than fails without error message or log or event log. It seems the issue (from using a diff tool) is that the following property is not removed when I am left with 1 language.

LangOpt="1" (from <COMPONENT cid="caphyon.advinst.msicomp.BuildComponent">)

When I remove that option, everything seems to work. I would rather not modify the xml. Have you guys seen this before? Do I have any other options to do this through the CLI?
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Remove Languages from the CLI

Hello,

I've tested the scenario and I replicated the behavior. This seems to be an Advanced Installer issue, thank you for reporting it. A fix will be available in a future version of Advanced Installer. We'll update this thread as soon as the fix is out.

Until then, as it is not recommended at all to edit the .aip content by using any third party application (e.g. a text editor), the only workaround is to manually open, after running your command script, the project file in Advanced Installer, go to "Translations page -> Languages tab", check and uncheck a language and save and rebuild the project. We apologize for this inconvenience.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”