Jump to content


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.
Photo

How do I set the Display Name in the Add/Remove Programs


2 replies to this topic

seanst

seanst
  • Members
  • 13 posts

Posted 05 February 2002 - 16:23

Hi

In Installshield 5 the setup wizard created a variable called UNINST_DISPLAY_NAME which held the string that was displayed in the Add/Remove Programs window.

Installshield 6 doesn't do this. Can anyone tell me how I set the displayed  string in the Add/Remove Programs window in Installshield 6.x.

Thanks


csamara

csamara
  • Members
  • 2 posts

Posted 05 February 2002 - 22:15

This is how I changed the display name in IS6.2:

RegDBSetDefaultRoot(HKEY_LOCAL_MACHINE);
     sValue = "YourDisplayName";
     sKey ="SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{YOURGUIDNUMBER}";  
     RegDBSetKeyValueEx(sKey, "DisplayName", REGDB_STRING, sValue, -1);

Hope this helps,
Carissa
   


seanst

seanst
  • Members
  • 13 posts

Posted 07 February 2002 - 16:45

Hi Carissa

Thanks for your help it works ok now

Sean