Hi there,
Our product installs with a set of localized (English or Japanese) registry values, so that the user can change the app's default text in certain places. This is how we do it:
(In the string table)
IDS_MY_STRING - a string resource that has English and Japanese translations.
(In the Property table)
PropMyString - a private property, whose value is {IDS_MY_STRING} to get the localized string resource.
(In the Registry table)
MyRegValue - a registry entry, whose value is [PropMyString] to get the initialized property.
This approach works perfectly for a fresh install, but if I perform a Japanese upgrade then any new registry values get written as English. If I do an MsiGetProperty() during the install, then I find that PropMyString always holds the English string, and if I try to hack it by doing MsiSetProperty(PropMyString, @IDS_MY_STRING) from a script CA in InstallExecute then the property changes, but the registry value still comes out in English.
Does anyone have any ideas?
Thanks,
Karim
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Localizable registry values upgrade problem
Started by
Karim.MacDonald
, Feb 16 2006 21:28
1 reply to this topic
Posted 21 February 2006 - 04:09
(Addendum)
Oh well, no joy. If anyone else ever has this prob, I'm afraid I gave up, tho' you might try your luck with public (all-caps) properties. I've decided to let the app create the registry entries on first usage, which gives more robust behaviour anyway
btw, product used was IS Developer 7.04
Oh well, no joy. If anyone else ever has this prob, I'm afraid I gave up, tho' you might try your luck with public (all-caps) properties. I've decided to let the app create the registry entries on first usage, which gives more robust behaviour anyway

btw, product used was IS Developer 7.04