PDA

View Full Version : Removing Registry Entry in Merge Module ?



NewsArchive
03-11-2000, 01:00 AM
Thanks Einar. i will try it out.
Bala

Einar Onsum wrote:
>
> In ISWI you just make an entry like this
> [HKEY_CURRENT_USER\Software\Agresso Group\Agresso 5.3\Service Manager]
> "-"=""
>
> In this case, everything under "Service Manager" and below, will be deleted
> during uninstall.
>
> Einar
>
> "Saiprasanna" <saiprasanna@hotmail.com> wrote in message
> news:38C85D44.18031943@hotmail.com...
> > hi
> > i would like to know if there is any way to make the ISWI, to remove the
> > registry entries created by application after getting installed.any
> > ideas would be very helpful
> > Thanks in advance
> > Bala
> >
> > kba002@yahoo.com

NewsArchive
03-11-2000, 01:00 AM
Thanks Einar. i will try it out.
Bala

Einar Onsum wrote:
>
> In ISWI you just make an entry like this
> [HKEY_CURRENT_USER\Software\Agresso Group\Agresso 5.3\Service Manager]
> "-"=""
>
> In this case, everything under "Service Manager" and below, will be deleted
> during uninstall.
>
> Einar
>
> "Saiprasanna" <saiprasanna@hotmail.com> wrote in message
> news:38C85D44.18031943@hotmail.com...
> > hi
> > i would like to know if there is any way to make the ISWI, to remove the
> > registry entries created by application after getting installed.any
> > ideas would be very helpful
> > Thanks in advance
> > Bala
> >
> > kba002@yahoo.com

NewsArchive
12-13-2001, 01:00 AM
Using Dev 7.01

I've got a component that is shared among our products, so I put it in a
merge module. It installs a registry key and an exe with a shortcut. The
executable displays a configuration dialog that adds registry entries to the
key. The component is marked as "shared".

When the last product that uses it uninstalls, the registry key is left
behind due to the additional entries added by the product. What I'd like to
do is, in the merge module, put logic that will check the reference count
for the component and delete the registry key if appropriate. I know how to
do that in installscript (having come from IS6x) but don't know how to
accomplish that in a merge module.

Can someone give me a hint or point me to information in the help files?

Thanks
Kathy