ComponentTrasferData() deletes the registry entry
Posted 23 August 2003 - 06:55
We have 2 products that uses the same company folder in the registry. Each
product has its own sub folder of registry keys which specifically placed
in HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER. The registry will look
something like this..
HKEY_LOCAL_MACHINE \Software\FBM (company name)\product name1\subfolders
HKEY_LOCAL_MACHINE \Software\FBM (company name)\product name2\subfolders
The algorithm of our installer project would not uninstall the setup
unless it was triggered in the shortcut for uninstallation or in the
The problem arises when we installed product1 then installed product2.
Then decided to uninstall product 1. The registry entries of product2
will also be removed. I didn't implement any code in the install script
that deletes the registry entry. I don't know why is this happening.. Its
scruing up the product2 since the registry entries was removed.
How is this problem related to calling the function
ComponentTransferData??? Bacause when I tried to investigate on this, the
removal of registry happens in this function. What can I do not to
removed the registry entry from product2??? I'm really having a hard time
on this... please help me..it will be a big help for me...
Posted 25 August 2003 - 09:01
My guess is that both the setups create the key HKEY_LOCAL_MACHINE \Software\FBM (company name) and not as shared between applications.
Posted 25 August 2003 - 13:02
I already set both the products to of regisrty key as "shared" and its registry value as "do not uninstall". I created the registry keys thru the IDE registry but still the bug occurred.
Posted 26 August 2003 - 09:46
Posted 26 August 2003 - 10:40
Do you know any work around on this???
Thanks! I really appreciate your response!
Posted 28 August 2003 - 13:54