Community Forums
Results 1 to 3 of 3

Thread: Publisher name in Installscript MSI project

  1. #1
    Join Date
    Jan 2015
    Posts
    68

    Publisher name in Installscript MSI project

    Hi,

    We have created InstallScript MSI projects, all the projects have English, French and German as Setup Languages; and English as default language.Under General Information tab we filled our Company name(say XYZ) in Publisher field.
    While running the setup if we select English as a language , we can see XYZ as a Publisher name in Control panel. But if we select French or German we have seen some odd names in Publisher column in control panel > programs and features, so we changed the names to XZY in String Editor for COMPANY_NAME Identifier , so now if we select any language we can see XZY as a publisher name in control panel > programs and features for fresh installation which is working as expected now.
    But main problem is while upgrade, before changing the COMPANY_NAME Identifier we have already deployed our setup in few production systems with German language , here it is showing (say "Ihr Firmenname") as Publisher name in control panel > programs and features, when we upgrade to our latest setup , publisher name is not getting changed to XZY in control panel > programs and features, it is still showing "Ihr Firmenname".

    Please help us in changing the publisher name while upgrade.

    Thanks in advance

  2. #2
    Join Date
    Nov 2006
    Location
    Salzburg, Austria
    Posts
    38
    Set the Registry-key for the Publisher information with installscript . (RegDBSetItem or RegDBSetKeyValueEx)

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{#GUIDE#}
    -> Publisher

  3. #3
    Join Date
    Jan 2015
    Posts
    68
    Hi ,

    We are setting the registry value in OnResumeUIBefore() function

    RegDBSetDefaultRoot(HKEY_LOCAL_MACHINE);
    RegDBSetKeyValueEx("SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{#GUID#}", "Publisher", REGDB_STRING, "XYZ", -1);

    But still publisher name is not getting changed to XZY in control panel > programs and features, it is still showing "Ihr Firmenname" after upgrade

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •