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

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
Labels (1)
0 Kudos

(2) Replies
Stefan_M
Level 5

Set the Registry-key for the Publisher information with installscript . (RegDBSetItem or RegDBSetKeyValueEx)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{#GUIDE#}
-> Publisher
0 Kudos
sureshkottakki
Level 6

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
0 Kudos