Multiple Entries in Add\Remove Prgrams
Posted 22 July 2004 - 21:53
In setup.rul, I create a unique product name. After I install my product multiple times, I can see the multiple installs in the registry under these unique keys. BUT! in Add/Remove Programs, I see only 1 entry - the last product name installed. And when I remove that program from Add/Remove, all my installs are removed.
I guess I don't understand the variable that I need to supply the name to Add/Remove that will uninstall each occurance. This seems simple, but I don't understand the relationship between the registry and add/remove and what commands to use to get it right. Thanks very much for any help
This is the script that I use:
szCompany = "IBM";
szProduct = "HelpNow_"+account;
szVersion = "6.3";
SdProductName ( szProduct );
InstallationInfo(szCompany, szProduct, szVersion, @PRODUCT_KEY);
szAppPath = DirWebHN;
MaintenanceStart ( );
if ((bIs32BitSetup) && (bIsShellExplorer)) then
RegDBSetItem( REGDB_APPPATH, szAppPath );
RegDBSetItem( REGDB_APPPATH_DEFAULT, szAppPath ^ @PRODUCT_KEY );
RegDBSetItem( REGDB_UNINSTALL_NAME, @UNINST_DISPLAY_NAME );
Posted 22 July 2004 - 23:52
You see each IS project has a hard-coded GUID that is used for the supporting uninstall information. Therefore each of these installations attempts is reusing the same locations. For more information about these, see the Basic FAQ.
I remember at some point someone mentioning a trick to generate these GUIDs on-the-fly, but I don't recall where exactly, so try searching this forum.
Otherwise you would need to do A LOT of customization work to both the install & the uninstall process to "fake" this support, so I'm not gonna even try to explain the steps involved.
Posted 23 July 2004 - 09:38
Support for muti-instance installations was added with Professional 7, so you may want to consider upgrading to the latest version (InstallShield X)
Posted 29 July 2004 - 22:04
That will not help me. I would like to send my I.S. product to one company administrator. Then I want that admin to install my product many times for each account that exists at that location. So, I need the GUID changed on the fly. Is there any way possible to do this?
Now, and i'm getting a bad feeling about this... If there is no way to do what I need, can you tell me how to have no product at all show up in Add\Remove? This way, I can install multiple copies of my product to the machine, and they can remove each manually. (because right now, they install multiple products, and only one shows up in add\remove, and when I remove it, all instances get removed)
Posted 30 July 2004 - 08:01
|I would like to send my I.S. product to one company administrator. Then I want that admin to install my product many times for each account that exists at that location|
What does this mean exactly? What accounts are these? It is possible to generate GUID's in VBScript if that helps.
Posted 30 July 2004 - 14:19
@shorstma: What's shown in Add/Remove Programs is based on the display name of the associated entry, so if you just delete that registry value, then you won't be able to see it.
You could even delete that whole registry key. Again, for more information on this, see the Basic FAQ.
Posted 31 July 2004 - 15:31
Did you look at these and find that they don't do what you need?
Posted 05 August 2004 - 22:42