my understanding from the windows installer sdk is that in order to keep an application registry key from being removed on uninstall, one should put a + for the name and some dummy value for the value as a name value pair under that key. i'm doing this thru the registry table in my msi file and the key i'm doing it for is still getting deleted on uninstall. I'm stumped by this and would appreciate info on it. Thanks.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
i see what the problem is. the key has to be added in some way other then thru the registry table of the installer, when i add that key manually, after installing without it, on uninstall, the key i want preserved is preserved. so now i have to figure out how i want to add the key since i can't use the registry table as i was doing.
Answered 10/18/2004 by: yageroy
Yellow Belt

Please log in to comment
0
One way to preserve a key after uninstall is to add the key in question into a seperate component and then set that component to be left behind on uninstall.
Answered 10/21/2004 by: Fishy
Senior Yellow Belt

Please log in to comment
0
thanks, i was doing it for a while with a custom action calling a vbscript to write the key, i've taken that out though because i think the natural installer behavior will actually be ok for me.
Answered 10/21/2004 by: yageroy
Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity