Hello,
I create an installer with installshield 11 pro but i have just one problem.
The product_name is "TEST_SAMPLE" and when installing, i have dynamically value and i want in Add/remove panel "TEST_SAMPLE DYNAMIC_VALUE".
It's possible ?
thank you for your help.
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.
Change Name into ADD/remove panel when installing.
Started by
gcb
, Sep 27 2005 11:48
6 replies to this topic
Posted 27 September 2005 - 18:53
In an Installscript project, you should be able to do this by using UNINSTALL_DISPLAYNAME:
UNINSTALL_DISPLAYNAME = IFX_PRODUCT_NAME + DYNAMIC_VALUE.
If that doesn't work, look at the RegDBSetItem function.
UNINSTALL_DISPLAYNAME = IFX_PRODUCT_NAME + DYNAMIC_VALUE.
If that doesn't work, look at the RegDBSetItem function.
Posted 29 September 2005 - 10:48
This don't work, i tested and this is a bug, no result.
but i found any solution :
RegDBSetDefaultRoot ( HKEY_LOCAL_MACHINE );
szKey = "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\" ^ INSTANCE_GUID;
szValue =@PRODUCT_NAME + Arg;
nResultRegistry=RegDBSetKeyValueEx (szKey, "DisplayName", REGDB_STRING, szValue, -1);
Thank you
but i found any solution :
RegDBSetDefaultRoot ( HKEY_LOCAL_MACHINE );
szKey = "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\" ^ INSTANCE_GUID;
szValue =@PRODUCT_NAME + Arg;
nResultRegistry=RegDBSetKeyValueEx (szKey, "DisplayName", REGDB_STRING, szValue, -1);
Thank you
Posted 20 January 2006 - 09:43
I am working on the same problem.
I need to make a setup`s name in "Add/Remove Programs" more informative.
i.e. a name of a product is "MyApp", but in "Add/Remove Programs" it should be "MyApp 3.3 Beta ".
Registry entry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{PRODUCT_GUID}
"DisplayName" = "MyApp 3.3 Beta"
does not affect "Add/Remove Programs" !!!
Most likely, the setup`s name takes from PRODUCT_NAME and it can`t be changed.. :-(
WinXP/2000, InstallShield X.
p.s.
UNINSTALL_DISPLAYNAME does not work too...
I need to make a setup`s name in "Add/Remove Programs" more informative.
i.e. a name of a product is "MyApp", but in "Add/Remove Programs" it should be "MyApp 3.3 Beta ".
Registry entry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{PRODUCT_GUID}
"DisplayName" = "MyApp 3.3 Beta"
does not affect "Add/Remove Programs" !!!
Most likely, the setup`s name takes from PRODUCT_NAME and it can`t be changed.. :-(
WinXP/2000, InstallShield X.
p.s.
UNINSTALL_DISPLAYNAME does not work too...
Edited by gloom, 20 January 2006 - 09:46.
Posted 20 January 2006 - 11:38
I found a solution.
I have modified Installer key:
HKEY_CLASSES_ROOT\Installer\Products\{GUID}
"ProductName" = "MyApp 3.3 Beta"
I suppose that it is a potential problem that could become a real problem in future (for updates).
Or you expect that it won't be such a problem?
btw, where does this {GUID} come from? (it is not PRODUCT_GUID or something else).
I have modified Installer key:
HKEY_CLASSES_ROOT\Installer\Products\{GUID}
"ProductName" = "MyApp 3.3 Beta"
I suppose that it is a potential problem that could become a real problem in future (for updates).
Or you expect that it won't be such a problem?
btw, where does this {GUID} come from? (it is not PRODUCT_GUID or something else).
Posted 25 January 2006 - 06:15
I do not know abt your last post, the but the one before that... The reason why setting the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{PRODUCT_GUID}\DisplayName fails might be that you are setting this value too soon - before InstallShield writes it to that reg key..
Try setting the reg key in the OnEnd() function. I think it might work.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{PRODUCT_GUID}\DisplayName fails might be that you are setting this value too soon - before InstallShield writes it to that reg key..
Try setting the reg key in the OnEnd() function. I think it might work.
Posted 25 January 2006 - 17:14
gloom it looks like you are using a Windows Installer/MSI project. Such setups ignore the uninstall display name in registry. However in a InstallScript project (and we are in the forum for this project type here) what you tried should work.
Stefan Krüger
InstallSite.org twitter facebook