o_owd
21st September 2003 20:27 UTC
unistall comp page
hello,
for the unistall components i was using a page created with Install Options plugin. now i'm
trying to change it with the new uninstall page component.
let's say i have 3 uninstall sections. i uninstall only the 1st one. the next time i launch the
uninstall i still can select that section !?.
if i uninstalled it, i should not be able to uninstall it "again". no? (this is my question)
am i doing something the wrong way, it's a bug or what?
thanks,
i hope that you understand what i'm trying to ask.
Joost Verburg
21st September 2003 20:45 UTC
You have to detect which sections can be uninstalled and hide the other sections.
kichik
21st September 2003 21:11 UTC
There can be uninstall sections that might not just remove the components. You can make the uninstall repair too and have the user select which components to repair. In this case, the component shouldn't be removed after the "uninstaller" finished.
As always with NSIS, you have total control, minimal limiting assumptions are made.
o_owd
22nd September 2003 07:20 UTC
Originally posted by Joost Verburg
You have to detect which sections can be uninstalled and hide the other sections.
thanks for responding, how to do this ?
kichik
22nd September 2003 10:47 UTC
That's up to you and depends on what each section does. You can hide it (set its name to "") if a file doesn't exist, a registry key doesn't exist, a file doesn't contain a certain certain or anything else.