Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

InstallLevel

Updated: 21 May 2010 | 2 comments
ZR Wu's picture
0 0 Votes
Login to vote

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.

discussion Filed Under:

Comments

dilorenzo1987's picture
03
Jun
2009
0 Votes 0
Login to vote

What about using the

What about using the ADDLOCAL and REMOVE Properties?

E.g msiexec.exe /i {Product-Code} ADDLOCAL=German REMOVE=English /qb

philbenson's picture
03
Jun
2009
0 Votes 0
Login to vote

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