locked
Problem when deploy Smart Tags for All Users on a Machine RRS feed

  • Question

  • Hi,

    Pls help to forward this quetion to correct forum if this is the wrong place.

    Refer to http://msdn.microsoft.com/en-us/library/aa169600(office.11).aspx, In Office 2003 or later, smart tags can be deployed for use by all users of a machine rather than just the person who installed them by writing the smart tag registry keys under HKEY_LOCAL_MACHINE rather than HKEY_CURRENT_USER.

    So i write the smart tag registry keys under HKEY_LOCAL_MACHINE to support all users on a machine.

    After smart tag is installed correctly, when user start outlook or word, for example, you can find the same smart tag records in HKEY_LOCAL_MACHINE is copied to HKEY_CURRENT_USER. It works fine in most cases. Recently, i found a problem, probably a bug for the copy. The case is:

    1. the system locale is English. (Region and language Options)

    2. change the installation path of smart tag to contain character of different locale other than english, for example, the smart tag dll is installed to c:\mySmartTagöööö\, ö is German.

    3. the installation succeed. The registry is writen during setup (using visual studio setup project), use the [TARGETDIR] as the smart tag installation path.

    4. the path of smart tag recongnizer and action is corrent in HKEY_LOCAL_MACHINE ,which is c:\mySmartTagöööö\.

    5. Then start the outlook or word, the smart tag is not listed in the smat tag settings. check the registry, the path of smart tag recongnizer and action is wrong in HKEY_CURRENT_USER, which is c:\mySmartTag????\, obviously, this is the reason why smart tag is not loaded.

    6, after change the locale from English to German, then restart the PC, and then start outlook or word, the smart tag works. check the registry, it is correct path in HKEY_CURRENT_USER.

    Is there any solution or workaround to solve this problem programmable and without user's addition action(changing the locale)? THanks.

    YOur quick response is highly appreciated.

    Best Regards,

    mailzyok

    Monday, April 19, 2010 9:14 AM