InstallLevel
We have a msi file that includes different features for different languages.
For example, we have a feature called English that will install a file called English.txt. German feature that will install German.txt.
We have a dialog box that will allow the user to select which language feature to install. The feature install level for each languages is10. If the msi is installed in silent mode, the msi will read from a registry key value and determine which feature to install. The overal installlevel property is 15.
If we install the msi by the command line msiexec.exe /i <msiname> /qn. The application can be installed successfully. For example, English is installed.
If we rerun the installation by msiexec.exe /i <msiname>. If the user selects another language other than Englsih. The English.txt will disappear but the language file user selected won't be installed! This looks like the language feature is not installed...
If we run the installation again and selects English, English.txt will be installed back.
Any suggestion on how we can reinstall successfully is highly appreciated.
What about using the
What about using the ADDLOCAL and REMOVE Properties?
E.g msiexec.exe /i {Product-Code} ADDLOCAL=German REMOVE=English /qb
How about condintioning
the features based on the system Language ID? This would allow the automatic installation of the txt file without "any" user interaction. If you want the possibilty of "forcing" a specific language txt file to be installed, add an OR with a custom property...
Cheers
Phil
Would you like to reply?
Login or Register to post your comment.