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

Passing Setup.exe Language Selection to Chained MSI and Prerequisite

Passing Setup.exe Language Selection to Chained MSI and Prerequisite

Passing Setup.exe Language Selection to Chained MSI and Prerequisite

 

Summary

     This article will show you how we can pass the setup.exe language selection from main installer should passed to Pre-Requisites and chained MSI in Basic MSI Project Type

 

Symptoms

   In a multi language project with multi language chained msi and prq files when user selects a language the same language should be passed to chained and prerequisite exe as well.

 

Resolution

 Yes It is possible to pass the Parent(main) installer language selection to child msi or prerequisite  by following below steps.

  • Create a Basic MSI project and add your chained msi under "Chained msi Packages"
  • Make sure you add all the mst files for the chained msi under "Streamed files:"
  • Now under "Install Properties" enter below value
  • TRANSFORMS=[ProductLanguage].mst
  • Make sure the mst file added in main installer is available in the chained or prerequisite exe as well. 
  • Now install the main installer and select a language and complete the installation, 
  • Go to control panel and you can verify that chained msi is installed with same language as parent.

Steps for prerequisite to install same language with parent:

  • Create a Multi language exe and create a prq using that exe
  • Now select the Application to run tab and enter below value
  • /s /v"/qn" /l[ProductLanguage]
  • Now create a BMSI and add Multi Language (EX: Eng and Jap)
  • Now add the above created prerequisite
  • Save and build the project
  • Install the setup.exe with UI or silent(<path to setup.exe>setup.exe /s /v"/qn" /L1041)
  • The setup.exe and prq both will be installed with user selected language.

How to Create PRQ 

InstallShield Prerequisite Editor Reference 

Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Jan 30, 2022 08:58 PM
Updated by:
Contributors