Archive: unistall comp page


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.


You have to detect which sections can be uninstalled and hide the other sections.


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.


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 ?

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.