This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Try this code
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 04, 2011
01:02 AM
How to set the product information stored in Control Panel Dynamically
Hi,
How to set the product information stored in Control Panel Dynamically.
Eg : My application name in PROJECT ASSISTANT Window is "ABC", Company Name is "ABC" and Version is "1.0.50". After installing this i got an entry in Control Panel -->Add Or Remove Programs with name "ABC". But as per the requirement i need to change the value in Control panel dynamically based on some conditions
like :-
if productkey == 1 then
"ABC"
else if productkey == 1 then
"DEF"
else
"GHIJ"
endig
Please suggest me solution.
URGENT
How to set the product information stored in Control Panel Dynamically.
Eg : My application name in PROJECT ASSISTANT Window is "ABC", Company Name is "ABC" and Version is "1.0.50". After installing this i got an entry in Control Panel -->Add Or Remove Programs with name "ABC". But as per the requirement i need to change the value in Control panel dynamically based on some conditions
like :-
if productkey == 1 then
"ABC"
else if productkey == 1 then
"DEF"
else
"GHIJ"
endig
Please suggest me solution.
URGENT
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 10, 2011
08:35 AM
Hi
You can change the registry entry for your product
By setting the display name for your product
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\your_productname]
"DisplayName"="Your Product Name"
Thanks
You can change the registry entry for your product
By setting the display name for your product
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\your_productname]
"DisplayName"="Your Product Name"
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 17, 2011
01:42 AM
thananjeyan wrote:
Hi
You can change the registry entry for your product
By setting the display name for your product
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\your_productname]
"DisplayName"="Your Product Name"
Thanks
Hi,
Thanks for your support. i tried the way which you told. Its working for all other than "DisplayName". I can change the Version, support info etc.. but if i change the DisplayName its not working.
Please help
Regrads,
Nidheesh
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 31, 2011
05:26 AM
Hi
Please try this code
UNINSTALL_DISPLAYNAME = "Your_Product name";
(Or)
RegDBSetItem ( nItem, szValue );
Thanks
Thananjeyan
Please try this code
UNINSTALL_DISPLAYNAME = "Your_Product name";
(Or)
RegDBSetItem ( nItem, szValue );
Thanks
Thananjeyan
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 06, 2011
03:55 AM
Dear nidheesh,
I'm using the following code to set some text to the control panel's information pane:
HTH Alex
nidheesh.kuvil wrote:
Hi,
Thanks for your support. i tried the way which you told. Its working for all other than "DisplayName". I can change the Version, support info etc.. but if i change the DisplayName its not working.
I'm using the following code to set some text to the control panel's information pane:
// Set sKey to be the uninstall key for this product
sKey = "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\" + PRODUCT_GUID;
nDefRoot = RegDBGetDefaultRoot();
RegDBSetDefaultRoot( HKEY_LOCAL_MACHINE );
// Set the InstallLocation value in the uninstall key.
RegDBSetKeyValueEx( sKey, "InstallLocation" , REGDB_STRING, TARGETDIR, -1 );
// Icon File für Display unter W2K und XP setzen (ControlPanel->AddRemove Applikations)
RegDBSetKeyValueEx( sKey, "DisplayIcon" , REGDB_STRING, TARGETDIR^BS_ICO_FILE, -1 );
//Set the Support URL
RegDBSetKeyValueEx( sKey, "HelpLink" , REGDB_STRING_EXPAND, COMPANY_URL, -1 );
//Set the Support Email
RegDBSetKeyValueEx( sKey, "Contact" , REGDB_STRING_EXPAND, COMPANY_EMAIL, -1 );
RegDBSetDefaultRoot( nDefRoot );
HTH Alex