It turns out that the Java java.util.prefs.Preferences class does not support capital letters. If it finds one it precedes it with a / which causes problems when I am searching for a variable added by Advanced Installer. For example, if my product name is 'MyQueryTool', it is added as 'MyQueryTool'. If I attempt to retrieve it Java looks for '/My/Query/Tool/' so I can't find the associated value.
Here is an example of a Java created key - "/E/M/A/I/L_/A/D/D/R/E/S/S". The Advanced Installer equivelant would be "EMAIL_ADDRESS".
This means that I can't directly use the provided [Manufacturer][ProductName] tree node unless both names are lower case only. Is there a way I can get around this?
FOLLOW US
Get the latest news in Application Packaging