|
|
#1 (permalink) |
|
Guest
Posts: n/a
|
Documentation seems to indicate that entries in the RemoveRegistry Table will
be removed when the installed component is uninstalled. I was expecting that this would allow me to remove keys that are created by the application on uninstall. In my tests I find that the entries in the table are not removed on uninstall. However, they are removed during the next install. Is this correct? If it is not then how can I correct this behavior? Richard |
|
|
|
#2 (permalink) |
|
Guest
Posts: n/a
|
Update:
I now see that this is the intended behavior for the RemoveRegistry Table entries. I have seen it suggested that you need to use the RegistryTable to force a removal on uninstall ("-" in the Name field). My problem is that the "-" trick removes the entire key and subkeys. I merely want to remove a value from a key. This means Custom Action. Does anyone know where I can find the API calls for MSI to allow me to read the RemoveRegistry table? Richard "Richard Winks" wrote: > Documentation seems to indicate that entries in the RemoveRegistry Table will > be removed when the installed component is uninstalled. I was expecting that > this would allow me to remove keys that are created by the application on > uninstall. > > In my tests I find that the entries in the table are not removed on uninstall. > However, they are removed during the next install. > > Is this correct? > If it is not then how can I correct this behavior? > > Richard |
|
|
|
#3 (permalink) |
|
Guest
Posts: n/a
|
Hi Richard,
You can find the database functions here: http://msdn.microsoft.com/en-us/libr...(v=VS.85).aspx However, they are used for editing the MSI, not affecting its installation behavior. If you need a custom action, I'm currently offering consulting services. Please contact me if you are interested. Regards, John -- http://www.setupanddeployment.com/ "Richard Winks" wrote: > Update: > I now see that this is the intended behavior for the RemoveRegistry Table > entries. > > I have seen it suggested that you need to use the RegistryTable to force a > removal on uninstall ("-" in the Name field). > > My problem is that the "-" trick removes the entire key and subkeys. I > merely want to remove a value from a key. > > This means Custom Action. Does anyone know where I can find the API calls > for MSI to allow me to read the RemoveRegistry table? > > Richard > > > "Richard Winks" wrote: > > > Documentation seems to indicate that entries in the RemoveRegistry Table will > > be removed when the installed component is uninstalled. I was expecting that > > this would allow me to remove keys that are created by the application on > > uninstall. > > > > In my tests I find that the entries in the table are not removed on uninstall. > > However, they are removed during the next install. > > > > Is this correct? > > If it is not then how can I correct this behavior? > > > > Richard |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|