PDA

View Full Version : Passing ProductLanguage to script launched at end of install



danmarsden
02-09-2017, 04:50 PM
I am using Installshield 2016 Premier in a Basic MSI project with multi-language support. - This project was updated from a previous version of Installshield express.

I want to pass the ProductLanguage code to a vbscript launched at the end of the installation and have tried various combinations that don't appear to work.

it looks like the field I need to modify is "PROGRAMFILETOLAUNCHATEND" in property manager - I've tried the following combinations:
[INSTALLDIR]load.vbs [ProductLanguage]

also tried using the language in the actual file name
[INSTALLDIR]load-[ProductLanguage].vbs

Curly braces/square braces don't seem to help

If there's another way of setting an environment var with the productLanguage or some easier way of allowing a script to obtain the ProductLanguage let me know.

thanks,