Hi! I'm having a hard time tracking down the problem when I uninstalled the project. The porblem is like this...
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
Add/Remove progam.
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...
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.
ComponentTrasferData() deletes the registry entry
Started by
joy
, Aug 23 2003 06:55
5 replies to this topic
Posted 25 August 2003 - 09:01
How do you create the registry entries ? Scripting or "Registry Sets" in the resources view ?
My guess is that both the setups create the key HKEY_LOCAL_MACHINE \Software\FBM (company name) and not as shared between applications.
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
What do you mean by "both the setups create the key HKEY_LOCAL_MACHINE \Software\FBM (company name) and not as shared between applications"
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.
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
Try to create the keys in the script instead. Use Disable(LOGGING); before the creation of the registry entries. Don't forget to place a Enable(LOGGING); after.
Posted 26 August 2003 - 10:40
I already tried creating a registry set using the script and the disabling and enabling of logging. I called this code inside OnMoved() function. However, I didn't removed the registry entries that I created in the resource pane of registry IDE and it didn't worked.
Do you know any work around on this???
Thanks! I really appreciate your response!
Do you know any work around on this???
Thanks! I really appreciate your response!
Posted 28 August 2003 - 13:54
You will have to remove the registry entries that you created in the resource pane of registry IDE to make it work.