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

Progress Percentage Symbol Displays as null instead of %

Progress Percentage Symbol Displays as null instead of %

Summary

During the Install Progress Panel, a "null" string may appear instead of a percent sign after the current value of the progress bar. This article explains how to resolve this problem.

Symptoms

During the Install Progress Panel, a "null" string may appear instead of a percent sign after the current value of the progress bar.

User-added image


Cause

Keys and values for all of the dynamic strings in InstallAnywhere projects are handled by their associated locale file. This includes the progress percentage symbol string. If the locale key-value token entry for the progress percentage symbol string is missing from the locale file being used, the string will be displayed as "null."

Resolution

To replace the "null" string with a percent sign "%," go to the following directory: <IA_HOME>\resource\i18nresources and locate the locale file or files you are using in your project. The locale files are generated as custom_<localecode>, so for English which has a locale code of en, the name of the locale file will be custom_en. Make a backup of the locale file or files and then open it with a text editor. Locate the following section:
# INSTALLPROGRESSUI
# -----------------

# ............................ =Installing...
InstallProgressUI.installingStr=Installing...

# ............................ =Adding...
InstallProgressUI.addingStr=Adding...

# ............................ =Repairing...
InstallProgressUI.repairingStr=Repairing...

# ................................... =Installing $PRODUCT_NAME$
InstallProgressUI.installingProductStr=Installing $PRODUCT_NAME$

# ................................... =Add $PRODUCT_NAME$
InstallProgressUI.addingProductStr=Add $PRODUCT_NAME$

# ................................... =Repair $PRODUCT_NAME$
InstallProgressUI.repairingProductStr=Repair $PRODUCT_NAME$

# ............................ =Extracting duplicates...
InstallProgressUI.extractingDuplicatesStr=Extracting duplicates...

# ............................... =Cancelling Installation...
InstallProgressUI.cancellingString=Cancelling Installation...

# ............................... =Rolling Back Installation...
InstallProgressUI.rollingBackString=Rolling back installation ...
Add the required locale key-value token entry exactly as shown below to the end of the section:
# ............................... =Progress Percentage Symbol...
InstallProgressUI.ProgressPercentageSymbolString=%
Do this for each locale resource file that your project uses. Once you have updated and saved the locale file(s), rebuild your project so that it uses the latest locale file(s).

Additional Information

The percentage symbol string can be changed to any string you wish. If you wanted to remove the percent sign completely so that the progress only shows a number, you can leave the value blank for the locale key-value token entry as such:
# ............................... =Progress Percentage Symbol...
InstallProgressUI.ProgressPercentageSymbolString=
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Nov 09, 2018 11:11 PM
Updated by: