Here's the deal .......
I need to insert some code into a rather large custom action that uses InstallScript.
At the point in the installation program I am unsure of what registry hive has been set to be the default root.
I would like to .......
Save the current vale that was set by the last RegDBSetDeafultRoot command.
Execute "my" RegDBSetDefaultRoot command.
Make my registry changes.
Then restore the Default Root from the "saved" value so it has the same vale as it did before my code executed.
Is there a way to determine the current Default Root, save it and then restore it ?
Thanks in advance for any help.
Edited by RayKode, 29 July 2005 - 16:08.