Major Upgrade Registry Issues
Posted 30 September 2008 - 19:51
We are working on creating a major upgrade for one of our Product - 'A'. We have other 4 products (B,C,D & E) that are dependent on A. As in, B, C,D & E will not install without A being installed.
Now,after creating a major upgrade for A, when machine has only solution A installed, this major upgrade works fine. But if a machine has any other solution, installed on it along with A, then installing a major upgrade has issues.
With the install of this Product A & the other solutions we add values to the registry. For example:
On installIng A we will have:
HKLM---> X ---> InstalledSolutions
A
And on installing other solutions we will have:
HKLM---> X ---> InstalledSolutions
A
B
C
where A,B,C are our solutions.
After the major upgrade, it looks like the whole key is getting replaced when A is installed, which wipes out the registry values for other solutions. But I am not sure why this would happen?
Thanks.
Posted 30 September 2008 - 20:53
HKLM-->X
is set by a merge module that is shared by all the solutions - A,B,C,D,E.
Is there anything that we need to take care of for merge modules during a major upgrade?
We had also created a major upgrade for our solution 'B' thats dependent on A in the past and did not have this issue. B also shared this merge module mentioned above. The "RemoveRegistryValues" in both the log files looks like they are doing the exact same thing.
Attached Files
Edited by pjaiswal, 30 September 2008 - 21:15.
Posted 30 September 2008 - 21:16
Attached Files
Posted 03 October 2008 - 18:29
Registry.28E0F423_114C_4D81_82CB_E6992A89372F
Registry6.28E0F423_114C_4D81_82CB_E6992A89372F
Posted 04 October 2008 - 15:34
Stefan Krüger
InstallSite.org twitter facebook
Posted 07 October 2008 - 00:31
Any other suggestions?
Posted 07 October 2008 - 15:58
Stefan Krüger
InstallSite.org twitter facebook
Posted 07 October 2008 - 23:59
HKLM/Software/X
InstalledSolutions
A
B
C
License
A
B
C
These above are the registry keys, all folder icon in regedit, where each have values associated with them. With Major Upgrade for "A", the registry key thats getting deleted is "X", and so all keys for the solutions are getting deleted too.
The regkey HKLM/Software/X gets set by a merge module which is shared by all the solutions - A, B, C.
And, how do I check if these are marked to delete during uninstall?
If these were marked to delete, then they should have been delted with Major upgrade of Solution B as well.
Posted 09 October 2008 - 09:57
Stefan Krüger
InstallSite.org twitter facebook
Posted 10 October 2008 - 18:50
Posted 12 October 2008 - 14:05
Stefan Krüger
InstallSite.org twitter facebook